Skip to content

Commit 461cf3d

Browse files
committed
minor comment cleanup
1 parent d9fbc18 commit 461cf3d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

release-notes/VERSION-2.x

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Project: jackson-databind
66

77
2.11.4 (not yet released)
88

9-
#2894: Fix type resolution for static methods (regression in 2.11.3)
9+
#2894: Fix type resolution for static methods (regression in 2.11.3 due to #2821 fix)
1010
(reported by Łukasz W)
1111

1212
2.11.3 (02-Oct-2020)

src/test/java/com/fasterxml/jackson/databind/ser/GenericTypeSerializationTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,8 @@ public void testTypeResolution2821() throws Exception
255255
list = (List<Entity2821<?>>) (List<?>) foo;
256256
}
257257
Wrapper2821 val = new Wrapper2821(list);
258-
// fails with com.fasterxml.jackson.databind.JsonMappingException: Strange Map type java.util.Map: cannot determine type parameters (through reference chain: com.github.lhotari.jacksonbug.JacksonBugIsolatedTest$Wrapper["entities"]->java.util.Collections$SingletonList[0]->com.github.lhotari.jacksonbug.JacksonBugIsolatedTest$Entity["attributes"])
258+
// Was failing with `com.fasterxml.jackson.databind.JsonMappingException`: Strange Map
259+
// type java.util.Map: cannot determine type parameters (through reference chain: ---)
259260
String json = MAPPER.writeValueAsString(val);
260261
assertNotNull(json);
261262
}

0 commit comments

Comments
 (0)