Skip to content

Commit 5f08d73

Browse files
committed
Minor un-deprecation of previous commit change
1 parent 0edc2eb commit 5f08d73

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

src/main/java/com/fasterxml/jackson/databind/type/TypeFactory.java

+4-9
Original file line numberDiff line numberDiff line change
@@ -1403,16 +1403,11 @@ protected JavaType _newSimpleType(Class<?> raw, TypeBindings bindings,
14031403
return new SimpleType(raw, bindings, superClass, superInterfaces);
14041404
}
14051405

1406-
/**
1407-
* @deprecated Since 2.19
1408-
*/
1409-
@Deprecated // since 2.19
14101406
protected JavaType _unknownType() {
1411-
/* 15-Sep-2015, tatu: Prior to 2.7, we constructed new instance for each call.
1412-
* This may have been due to potential mutability of the instance; but that
1413-
* should not be issue any more, and creation is somewhat wasteful. So let's
1414-
* try reusing singleton/flyweight instance.
1415-
*/
1407+
// 15-Sep-2015, tatu: Prior to 2.7, we constructed new instance for each call.
1408+
// This may have been due to potential mutability of the instance; but that
1409+
// should not be issue any more, and creation is somewhat wasteful. So let's
1410+
// try reusing singleton/fly-weight instance.
14161411
return CORE_TYPE_OBJECT;
14171412
}
14181413

0 commit comments

Comments
 (0)