Skip to content

Commit

Permalink
Third Party Dependency Update - Jackson
Browse files Browse the repository at this point in the history
Update test for fixed issue: FasterXML/jackson-databind#4464

391209
  • Loading branch information
rogersteblerbsi committed Dec 16, 2024
1 parent aead2a1 commit baba9a7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ public void testSerializeDeserialize_ROOT_Locale() throws Exception {
String serializedDefaultJackson = s_defaultJacksonObjectMapper.writeValueAsString(pojo);
TestPojoWithLocaleProperties deserializedDefaultJackson = s_defaultJacksonObjectMapper.readValue(serializedDefaultJackson, TestPojoWithLocaleProperties.class);
assertJsonEquals("TestSerializeDeserialize_ROOT_Locale_defaultJackson.json", serializedDefaultJackson);
assertThat(deserializedDefaultJackson.getLocale1(), is(Locale.ROOT));
assertNull(deserializedDefaultJackson.getLocale1()); // Include.NO_DEFAULT removes empty properties
assertThat(deserializedDefaultJackson.getLocale2(), is(Locale.forLanguageTag("de-CH")));
assertThat(deserializedDefaultJackson.getLocaleStringMap(), is(localeMap));

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"_type" : "pojo-with-locale-property",
"locale1" : "",
"locale2" : "de_CH",
"localeStringMap" : {
"" : "Root",
Expand Down
2 changes: 1 addition & 1 deletion org.eclipse.scout.rt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
<jetty.version>12.0.15</jetty.version>
<slf4j.version>2.0.9</slf4j.version>
<logback.version>1.4.14</logback.version>
<jackson.version>2.16.0</jackson.version>
<jackson.version>2.18.2</jackson.version>
<io.netty-version>4.1.114.Final</io.netty-version>
<apache.tika-version>3.0.0</apache.tika-version>
<batik.version>1.18</batik.version>
Expand Down

0 comments on commit baba9a7

Please sign in to comment.