Skip to content

Commit

Permalink
more javadoc stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jan 5, 2021
1 parent a40a7f7 commit 00a8c72
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,16 @@ public interface NonBlockingInputFeeder
* Method called to check whether it is ok to feed more data: parser returns true
* if it has no more content to parse (and it is ok to feed more); otherwise false
* (and no data should yet be fed).
*
* @return {@code True} if more input is needed (and can be fed); {@code false} if
* there is still some input to decode
*/
public boolean needMoreInput();

/**
* Method that should be called after last chunk of data to parse has been fed
* (with <code>feedInput</code> in sub-class); can be called regardless of what {@link #needMoreInput}
* (with {@code feedInput} in sub-class); can be called regardless of what
* {@link #needMoreInput}
* returns. After calling this method, no more data can be fed; and parser assumes
* no more data will be available.
*/
Expand Down
7 changes: 7 additions & 0 deletions src/main/java/com/fasterxml/jackson/core/io/CharTypes.java
Original file line number Diff line number Diff line change
Expand Up @@ -206,13 +206,20 @@ public final class CharTypes
* Value of 0 means "no escaping"; other positive values that value is character
* to use after backslash; and negative values that generic (backslash - u)
* escaping is to be used.
*
* @return 128-entry {@code int[]} that contains escape definitions
*/
public static int[] get7BitOutputEscapes() { return sOutputEscapes128; }

/**
* Alternative to {@link #get7BitOutputEscapes()} when a non-standard quote character
* is used.
*
* @param quoteChar Character used for quoting textual values and property names;
* usually double-quote but sometimes changed to single-quote (apostrophe)
*
* @return 128-entry {@code int[]} that contains escape definitions
*
* @since 2.10
*/
public static int[] get7BitOutputEscapes(int quoteChar) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.fasterxml.jackson.core.util;

import java.util.LinkedHashMap;
import java.util.concurrent.ConcurrentHashMap;

/**
Expand All @@ -9,7 +8,7 @@
* performance optimization, to avoid calling native intern() method
* in cases where same String is being interned multiple times.
*<p>
* Note: that this class extends {@link LinkedHashMap} is an implementation
* Note: that this class extends {@link java.util.LinkedHashMap} is an implementation
* detail -- no code should ever directly call Map methods.
*/
public final class InternCache
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ protected JsonParserSequence(JsonParser[] parsers) {
this(false, parsers);
}

/**
* @since 2.8
*/
// @since 2.8
protected JsonParserSequence(boolean checkForExistingToken, JsonParser[] parsers)
{
super(parsers[0]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ public void setRootValueSeparator(String sep) {
}

/**
* @param separators Separator definitions
*
* @since 2.9
*/
public MinimalPrettyPrinter setSeparators(Separators separators) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import com.fasterxml.jackson.core.io.NumberInput;

/**
* TextBuffer is a class similar to {@link StringBuffer}, with
* TextBuffer is a class similar to {@link java.lang.StringBuffer}, with
* following differences:
*<ul>
* <li>TextBuffer uses segments character arrays, to avoid having
Expand Down

0 comments on commit 00a8c72

Please sign in to comment.