File tree Expand file tree Collapse file tree 4 files changed +5
-9
lines changed
json-utils/src/main/java/software/amazon/awssdk/protocols/jsoncore
protocols/aws-json-protocol/src
main/java/software/amazon/awssdk/protocols/json/internal
test/java/software/amazon/awssdk/protocols/json Expand file tree Collapse file tree 4 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 3131import software .amazon .awssdk .thirdparty .jackson .core .JsonParseException ;
3232import software .amazon .awssdk .thirdparty .jackson .core .JsonParser ;
3333import software .amazon .awssdk .thirdparty .jackson .core .JsonToken ;
34- import software .amazon .awssdk .thirdparty .jackson .core .StreamReadFeature ;
3534import software .amazon .awssdk .thirdparty .jackson .core .json .JsonReadFeature ;
3635
3736/**
@@ -47,7 +46,6 @@ public final class JsonNodeParser {
4746 */
4847 public static final JsonFactory DEFAULT_JSON_FACTORY =
4948 JsonFactory .builder ()
50- .enable (StreamReadFeature .INCLUDE_SOURCE_IN_LOCATION )
5149 .configure (JsonReadFeature .ALLOW_JAVA_COMMENTS , true )
5250 .build ();
5351
Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ public final class AwsStructuredPlainJsonFactory {
3535 private static final JsonFactory JSON_FACTORY = JsonFactory .builder ()
3636 .enable (StreamReadFeature .USE_FAST_BIG_NUMBER_PARSER )
3737 .enable (StreamReadFeature .USE_FAST_DOUBLE_PARSER )
38- .enable (StreamReadFeature .INCLUDE_SOURCE_IN_LOCATION )
3938 .enable (StreamWriteFeature .USE_FAST_DOUBLE_WRITER )
4039 .build ();
4140
Original file line number Diff line number Diff line change 2828import org .junit .jupiter .api .Test ;
2929import software .amazon .awssdk .protocols .jsoncore .JsonNode ;
3030import software .amazon .awssdk .thirdparty .jackson .core .JsonFactory ;
31- import software .amazon .awssdk .thirdparty .jackson .core .StreamReadFeature ;
3231import software .amazon .awssdk .utils .BinaryUtils ;
3332
3433public class SdkJsonGeneratorTest {
@@ -41,7 +40,7 @@ public class SdkJsonGeneratorTest {
4140
4241 @ BeforeEach
4342 public void setup () {
44- jsonGenerator = new SdkJsonGenerator (JsonFactory .builder ().enable ( StreamReadFeature . INCLUDE_SOURCE_IN_LOCATION ). build (), "application/json" );
43+ jsonGenerator = new SdkJsonGenerator (JsonFactory .builder ().build (), "application/json" );
4544 }
4645
4746 @ Test
Original file line number Diff line number Diff line change 105105 <awsjavasdk .version>${project.version} </awsjavasdk .version>
106106 <awsjavasdk .previous.version>2.34.3</awsjavasdk .previous.version>
107107 <awsjavasdk .previous-previous.version>2.34.2</awsjavasdk .previous-previous.version>
108- <jackson .version>2.19.0 </jackson .version>
109- <jackson .databind.version>2.19.0 </jackson .databind.version>
110- <jacksonjr .version>2.19.0 </jacksonjr .version>
108+ <jackson .version>2.15.2 </jackson .version>
109+ <jackson .databind.version>2.15.2 </jackson .databind.version>
110+ <jacksonjr .version>2.17.3 </jacksonjr .version>
111111 <eventstream .version>1.0.1</eventstream .version>
112112 <commons .lang.version>3.14.0</commons .lang.version>
113113 <wiremock .version>2.32.0</wiremock .version>
750750 </profile >
751751 <profile >
752752 <!-- This is the new maven publishing profile. It's similar to the "publishing" profile except
753- for the fact that it uses the maven central publishing plugin instead of the nexus publishing plugin.
753+ for the fact that it uses the maven central publishing plugin instead of the nexus publishing plugin.
754754 Once OSSRH is disabled we can rename this "publishing", and remove the existing publishing profile -->
755755 <id >central-portal-publishing</id >
756756 <build >
You can’t perform that action at this time.
0 commit comments