Skip to content

Commit

Permalink
Replace short-hand iff in JavaDoc (#1282)
Browse files Browse the repository at this point in the history
  • Loading branch information
Philzen committed Apr 28, 2024
1 parent 08aa368 commit f5d29e9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/fasterxml/jackson/core/JsonParser.java
Expand Up @@ -1243,7 +1243,7 @@ public Boolean nextBooleanValue() throws IOException {
/**
* Method that will skip all child tokens of an array or
* object token that the parser currently points to,
* iff stream points to
* if (and only if) stream points to
* {@link JsonToken#START_OBJECT} or {@link JsonToken#START_ARRAY}.
* If not, it will do nothing.
* After skipping, stream will point to <b>matching</b>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fasterxml/jackson/core/TreeNode.java
Expand Up @@ -228,7 +228,7 @@ public interface TreeNode
TreeNode path(int index);

/**
* Method for accessing names of all fields for this node, iff
* Method for accessing names of all fields for this node, if (and only if)
* this node is an Object node. Number of field names accessible
* will be {@link #size}.
*
Expand Down
Expand Up @@ -525,7 +525,7 @@ protected void _releaseBuffers() throws IOException {

/**
* Method called when an EOF is encountered between tokens.
* If so, it may be a legitimate EOF, but only iff there
* If so, it may be a legitimate EOF, but <b>only</b> if there
* is no open non-root context.
*/
@Override
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fasterxml/jackson/core/package-info.java
Expand Up @@ -14,7 +14,7 @@
*<li>{@link com.fasterxml.jackson.core.TreeNode} is included
*within Streaming API to support integration of the Tree Model
*(which is based on <code>JsonNode</code>) with the basic
*parsers and generators (iff using mapping-supporting factory: which
*parsers and generators (if and only if using mapping-supporting factory: which
*is part of Mapping API, not core)
* </li>
*<li>{@link com.fasterxml.jackson.core.ObjectCodec} is included so that
Expand Down

0 comments on commit f5d29e9

Please sign in to comment.