Skip to content

Commit e9a791b

Browse files
committed
...
1 parent 2d8ad7d commit e9a791b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/main/java/com/fasterxml/jackson/databind/jsontype/impl/ClassNameIdResolver.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,10 @@ public String getDescForKnownTypeIds() {
132132
private static boolean isJavaUtilCollectionClass(String clz, String type)
133133
{
134134
if (clz.startsWith("Collections$")) {
135-
// 02-Jan-2017, tatu: As per [databind#1868], need to leave Unmodifiable variants as is
136-
return ((clz.indexOf(type) > 0)
137-
&& !clz.contains("Unmodifiable"));
135+
// 02-Jan-2017, tatu: As per [databind#1868], may need to leave Unmodifiable variants as is
136+
return (clz.indexOf(type) > 0)
137+
// && !clz.contains("Unmodifiable");
138+
;
138139
}
139140
if (clz.startsWith("Arrays$")) {
140141
return (clz.indexOf(type) > 0);

0 commit comments

Comments
 (0)