Skip to content

Commit 97c14f1

Browse files
committed
Add version changes in StdTypeResolverBuilder
1 parent a509ac2 commit 97c14f1

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ public class StdTypeResolverBuilder
3535
* Whether type id should be exposed to deserializers or not
3636
*/
3737
protected boolean _typeIdVisible = false;
38-
38+
39+
/**
40+
* @since 2.16 (backported from Jackson 3.0)
41+
*/
3942
protected Boolean _requireTypeIdForSubtypes;
4043

4144
/**
@@ -56,6 +59,9 @@ public class StdTypeResolverBuilder
5659

5760
public StdTypeResolverBuilder() { }
5861

62+
/**
63+
* @since 2.16 (backported from Jackson 3.0)
64+
*/
5965
public StdTypeResolverBuilder(JsonTypeInfo.Value settings) {
6066
if (settings != null) {
6167
_idType = settings.getIdType();
@@ -70,6 +76,9 @@ public StdTypeResolverBuilder(JsonTypeInfo.Value settings) {
7076
}
7177
}
7278

79+
/**
80+
* @since 2.16 (backported from Jackson 3.0)
81+
*/
7382
protected static String _propName(String propName, JsonTypeInfo.Id idType) {
7483
if (propName == null) {
7584
propName = idType.getDefaultPropertyName();

0 commit comments

Comments
 (0)