We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4ea1151 + e9a791b commit 96c69deCopy full SHA for 96c69de
src/main/java/com/fasterxml/jackson/databind/jsontype/impl/ClassNameIdResolver.java
@@ -132,9 +132,10 @@ public String getDescForKnownTypeIds() {
132
private static boolean isJavaUtilCollectionClass(String clz, String type)
133
{
134
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"));
+ // 02-Jan-2017, tatu: As per [databind#1868], may need to leave Unmodifiable variants as is
+ return (clz.indexOf(type) > 0)
+// && !clz.contains("Unmodifiable");
138
+ ;
139
}
140
if (clz.startsWith("Arrays$")) {
141
return (clz.indexOf(type) > 0);
0 commit comments