Skip to content

Commit

Permalink
Minor javadoc improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Dec 6, 2024
1 parent 1485ff6 commit 02d576c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
* being processed. This allows for some contextual processing: for
* example, output within Array context can differ from that of
* Object context.
*<p>
* NOTE: in Jackson 3.x this class is renamed as {@code TokenStreamContext}
*/
public abstract class JsonStreamContext
{
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/com/fasterxml/jackson/core/JsonToken.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ public enum JsonToken

/**
* FIELD_NAME is returned when a String token is encountered
* as a field name (same lexical value, different function)
* as a field name (same lexical value, different function).
*<p>
* NOTE: in Jackson 3.x this enum is renamed as {@code PROPERTY_NAME}
*/
FIELD_NAME(null, JsonTokenId.ID_FIELD_NAME),

Expand Down
2 changes: 2 additions & 0 deletions src/main/java/com/fasterxml/jackson/core/JsonTokenId.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ public interface JsonTokenId

/**
* Id used to represent {@link JsonToken#FIELD_NAME}
*<p>
* NOTE: in Jackson 3.x this enum is renamed as {@code ID_PROPERTY_NAME}
*/
public final static int ID_FIELD_NAME = 5;

Expand Down

0 comments on commit 02d576c

Please sign in to comment.