Skip to content

Commit 6a5a4f4

Browse files
authored
Minor change to sync with [databind#644] changes (#684)
1 parent 560d5a3 commit 6a5a4f4

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

ion/src/main/java/tools/jackson/dataformat/ion/polymorphism/IonAnnotationTypeSerializer.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,13 @@
2525
import tools.jackson.databind.jsontype.impl.TypeSerializerBase;
2626

2727
/**
28-
* This is a {@link TypeSerializer} that places typing metadata in Ion type annotations. It requires that the underlying
29-
* {@link JsonGenerator} is actually a {@link tools.jackson.dataformat.ion.IonGenerator}.
28+
* This is a {@link TypeSerializer} that places typing metadata in Ion type annotations.
29+
* It requires that the underlying {@link JsonGenerator} is actually
30+
* a {@link tools.jackson.dataformat.ion.IonGenerator}.
3031
*<p>
31-
* Type serializers are responsible for handling the preamble and postamble of values, in addition to any possible
32-
* typing metadata (probably because type metadata can affect the pre/postamble content) -- in other words, once a
33-
* {@link TypeSerializer} gets involved, serializers skip normal pre/postambles and assume the TypeSerializer will do it
32+
* Type serializers are responsible for handling the pre-amble and post-amble of values, in addition to any possible
33+
* typing metadata (probably because type metadata can affect the pre-/post-amble content) -- in other words, once a
34+
* {@link TypeSerializer} gets involved, serializers skip normal pre-/post-ambles and assume the TypeSerializer will do it
3435
* instead. This is why we have to do more than write type metadata in our writeTypePrefix/Suffix* implementations.
3536
*
3637
* @see MultipleTypeIdResolver
@@ -40,7 +41,7 @@ public class IonAnnotationTypeSerializer extends TypeSerializerBase
4041
// private final TypeIdResolver typeIdResolver;
4142

4243
IonAnnotationTypeSerializer(TypeIdResolver typeIdResolver) {
43-
super(typeIdResolver, null);
44+
super(typeIdResolver, null, null);
4445
}
4546

4647
@Override

0 commit comments

Comments
 (0)