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

Commit

Permalink
Update release notes wrt #67
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jun 21, 2015
1 parent 76e2b22 commit 1613b14
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions release-notes/CREDITS
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@ Stephan Schroevers: (Stephan202@github)
(2.5.0)
* Contributed #65: Add deserialization support for SortedMultiset and ImmutableSortedMultiset
(2.5.3)

Michael Hixson:

* Contributed fix for #67: Support deserializing ImmutableSetMultimaps
(2.6.0)
2 changes: 2 additions & 0 deletions release-notes/VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Project: jackson-datatype-guava
#66: Add `GuavaModule.configureAbsentsAsNulls(boolean)` to change whether
`Optional.absent()` is to be handled same as Java null during serialization
(default: true) or not.
#67: Support deserializing ImmutableSetMultimaps
(contributed by Michael H, michaelhixson@github)
#69: Add support for `JsonInclude.Include.NON_ABSENT`, to compensate for #66

2.5.4 (not yet released)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ public void testIssue67() throws IOException
ImmutableSetMultimap<String, Integer> map = MAPPER.readValue(
"{\"d\":[1,2],\"c\":[3,4],\"b\":[5,6],\"a\":[7,8]}",
new TypeReference<ImmutableSetMultimap<String, Integer>>() {});
assertTrue(map instanceof ImmutableSetMultimap);
assertEquals(8, map.size());
Iterator<Map.Entry<String, Integer>> iterator = map.entries().iterator();
assertEquals(Maps.immutableEntry("d", 1), iterator.next());
Expand Down

0 comments on commit 1613b14

Please sign in to comment.