File tree 4 files changed +17
-42
lines changed
guava/src/test/java/com/fasterxml/jackson/datatype/guava
4 files changed +17
-42
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -34,4 +34,14 @@ public void testUntypedWithOptionalsNotNulls() throws Exception
34
34
String jsonAct = mapper .writeValueAsString (new OptionalParent ());
35
35
assertEquals (jsonExp , jsonAct );
36
36
}
37
+
38
+ // Test for "old" settings (2.5 and earlier only option; available on later too)
39
+ // Fixed via [datatypes-collections#136]
40
+ public void testUntypedWithNullEqOptionals () throws Exception
41
+ {
42
+ final ObjectMapper mapper = mapperWithModule (true );
43
+ String jsonExp = aposToQuotes ("{'XX.name':'Bob'}" );
44
+ String jsonAct = mapper .writeValueAsString (new OptionalParent ());
45
+ assertEquals (jsonExp , jsonAct );
46
+ }
37
47
}
Original file line number Diff line number Diff line change @@ -119,7 +119,9 @@ Wolff Bock von Wülfingen (@wlfbck)
119
119
(2.16.0 )
120
120
121
121
Muhammad Khalikov (@mukham12)
122
- * Contributed #118 : Support @JsonFormat(shape=STRING) on Range<T>
122
+ * Contributed #118 : (guava) Support @JsonFormat(shape=STRING) on Range<T>
123
+ (2.17.0 )
124
+ * Contributed #136 : (guava) Fix for failing Guava `Optional` test
123
125
(2.17.0 )
124
126
125
127
Arthur Chan (@arthurscchan)
Original file line number Diff line number Diff line change @@ -18,11 +18,13 @@ Active Maintainers:
18
18
19
19
2.17.0 (not yet released)
20
20
21
- #118 : Support @JsonFormat(shape=STRING) on Range<T>
21
+ #118 : (guava) Support @JsonFormat(shape=STRING) on Range<T>
22
22
(contributed by Muhammad K)
23
- #124 : Some deserializers throw unexpected `NullPointerException` when
23
+ #124 : (guava) Some deserializers throw unexpected `NullPointerException` when
24
24
handling invalid input
25
25
(contibuted by Arthur C)
26
+ #136 (guava) Fix for failing Guava `Optional` test
27
+ (contributed by Muhammad K)
26
28
27
29
2.16.0 (15 -Nov-2023 )
28
30
You can’t perform that action at this time.
0 commit comments