Skip to content

Commit

Permalink
Post-merge clean up for #136: update version, credits, move test to p…
Browse files Browse the repository at this point in the history
…assing now
  • Loading branch information
cowtowncoder committed Dec 18, 2023
1 parent 968d981 commit 3b95db3
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 42 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,14 @@ public void testUntypedWithOptionalsNotNulls() throws Exception
String jsonAct = mapper.writeValueAsString(new OptionalParent());
assertEquals(jsonExp, jsonAct);
}

// Test for "old" settings (2.5 and earlier only option; available on later too)
// Fixed via [datatypes-collections#136]
public void testUntypedWithNullEqOptionals() throws Exception
{
final ObjectMapper mapper = mapperWithModule(true);
String jsonExp = aposToQuotes("{'XX.name':'Bob'}");
String jsonAct = mapper.writeValueAsString(new OptionalParent());
assertEquals(jsonExp, jsonAct);
}
}
4 changes: 3 additions & 1 deletion release-notes/CREDITS-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ Wolff Bock von Wülfingen (@wlfbck)
(2.16.0)

Muhammad Khalikov (@mukham12)
* Contributed #118: Support @JsonFormat(shape=STRING) on Range<T>
* Contributed #118: (guava) Support @JsonFormat(shape=STRING) on Range<T>
(2.17.0)
* Contributed #136: (guava) Fix for failing Guava `Optional` test
(2.17.0)

Arthur Chan (@arthurscchan)
Expand Down
6 changes: 4 additions & 2 deletions release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ Active Maintainers:

2.17.0 (not yet released)

#118: Support @JsonFormat(shape=STRING) on Range<T>
#118: (guava) Support @JsonFormat(shape=STRING) on Range<T>
(contributed by Muhammad K)
#124: Some deserializers throw unexpected `NullPointerException` when
#124: (guava) Some deserializers throw unexpected `NullPointerException` when
handling invalid input
(contibuted by Arthur C)
#136 (guava) Fix for failing Guava `Optional` test
(contributed by Muhammad K)

2.16.0 (15-Nov-2023)

Expand Down

0 comments on commit 3b95db3

Please sign in to comment.