Skip to content

Commit febaca1

Browse files
committed
add @SInCE 3.0 for new/changed methods
1 parent e43ed47 commit febaca1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/tools/jackson/databind/introspect/JacksonAnnotationIntrospector.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,7 @@ public List<NamedType> findSubtypes(MapperConfig<?> config, Annotated a)
663663
return null;
664664
}
665665

666+
// @since 3.0
666667
private List<NamedType> findSubtypesByJsonSubTypesAnnotation(MapperConfig<?> config, Annotated a, JsonSubTypes t)
667668
{
668669
JsonSubTypes.Type[] types = t.value();
@@ -684,7 +685,7 @@ private List<NamedType> findSubtypesByJsonSubTypesAnnotation(MapperConfig<?> con
684685
}
685686
}
686687

687-
// @since 2.14
688+
// @since 3.0
688689
private List<NamedType> findSubtypesByJsonSubTypesAnnotationCheckRepeatedNames(String annotatedTypeName, JsonSubTypes.Type[] types)
689690
{
690691
ArrayList<NamedType> result = new ArrayList<NamedType>(types.length);
@@ -712,6 +713,7 @@ private List<NamedType> findSubtypesByJsonSubTypesAnnotationCheckRepeatedNames(S
712713
return result;
713714
}
714715

716+
// @since 3.0
715717
private List<NamedType> findSubtypesByPermittedSubclasses(MapperConfig<?> config, Annotated a, Class<?> clazz)
716718
{
717719
List<NamedType> result = new ArrayList<>(clazz.getPermittedSubclasses().length);

0 commit comments

Comments
 (0)