Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit 1613b14

Browse files
committed
Update release notes wrt #67
1 parent 76e2b22 commit 1613b14

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

release-notes/CREDITS

+5
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,8 @@ Stephan Schroevers: (Stephan202@github)
1212
(2.5.0)
1313
* Contributed #65: Add deserialization support for SortedMultiset and ImmutableSortedMultiset
1414
(2.5.3)
15+
16+
Michael Hixson:
17+
18+
* Contributed fix for #67: Support deserializing ImmutableSetMultimaps
19+
(2.6.0)

release-notes/VERSION

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Project: jackson-datatype-guava
99
#66: Add `GuavaModule.configureAbsentsAsNulls(boolean)` to change whether
1010
`Optional.absent()` is to be handled same as Java null during serialization
1111
(default: true) or not.
12+
#67: Support deserializing ImmutableSetMultimaps
13+
(contributed by Michael H, michaelhixson@github)
1214
#69: Add support for `JsonInclude.Include.NON_ABSENT`, to compensate for #66
1315

1416
2.5.4 (not yet released)

src/test/java/com/fasterxml/jackson/datatype/guava/TestMultimaps.java

+1
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ public void testIssue67() throws IOException
242242
ImmutableSetMultimap<String, Integer> map = MAPPER.readValue(
243243
"{\"d\":[1,2],\"c\":[3,4],\"b\":[5,6],\"a\":[7,8]}",
244244
new TypeReference<ImmutableSetMultimap<String, Integer>>() {});
245+
assertTrue(map instanceof ImmutableSetMultimap);
245246
assertEquals(8, map.size());
246247
Iterator<Map.Entry<String, Integer>> iterator = map.entries().iterator();
247248
assertEquals(Maps.immutableEntry("d", 1), iterator.next());

0 commit comments

Comments
 (0)