File tree 6 files changed +17
-7
lines changed
src/main/java/com/fasterxml/jackson/core
6 files changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,16 @@ public interface NonBlockingInputFeeder
18
18
* Method called to check whether it is ok to feed more data: parser returns true
19
19
* if it has no more content to parse (and it is ok to feed more); otherwise false
20
20
* (and no data should yet be fed).
21
+ *
22
+ * @return {@code True} if more input is needed (and can be fed); {@code false} if
23
+ * there is still some input to decode
21
24
*/
22
25
public boolean needMoreInput ();
23
26
24
27
/**
25
28
* Method that should be called after last chunk of data to parse has been fed
26
- * (with <code>feedInput</code> in sub-class); can be called regardless of what {@link #needMoreInput}
29
+ * (with {@code feedInput} in sub-class); can be called regardless of what
30
+ * {@link #needMoreInput}
27
31
* returns. After calling this method, no more data can be fed; and parser assumes
28
32
* no more data will be available.
29
33
*/
Original file line number Diff line number Diff line change @@ -206,13 +206,20 @@ public final class CharTypes
206
206
* Value of 0 means "no escaping"; other positive values that value is character
207
207
* to use after backslash; and negative values that generic (backslash - u)
208
208
* escaping is to be used.
209
+ *
210
+ * @return 128-entry {@code int[]} that contains escape definitions
209
211
*/
210
212
public static int [] get7BitOutputEscapes () { return sOutputEscapes128 ; }
211
213
212
214
/**
213
215
* Alternative to {@link #get7BitOutputEscapes()} when a non-standard quote character
214
216
* is used.
215
217
*
218
+ * @param quoteChar Character used for quoting textual values and property names;
219
+ * usually double-quote but sometimes changed to single-quote (apostrophe)
220
+ *
221
+ * @return 128-entry {@code int[]} that contains escape definitions
222
+ *
216
223
* @since 2.10
217
224
*/
218
225
public static int [] get7BitOutputEscapes (int quoteChar ) {
Original file line number Diff line number Diff line change 1
1
package com .fasterxml .jackson .core .util ;
2
2
3
- import java .util .LinkedHashMap ;
4
3
import java .util .concurrent .ConcurrentHashMap ;
5
4
6
5
/**
9
8
* performance optimization, to avoid calling native intern() method
10
9
* in cases where same String is being interned multiple times.
11
10
*<p>
12
- * Note: that this class extends {@link LinkedHashMap} is an implementation
11
+ * Note: that this class extends {@link java.util. LinkedHashMap} is an implementation
13
12
* detail -- no code should ever directly call Map methods.
14
13
*/
15
14
public final class InternCache
Original file line number Diff line number Diff line change @@ -60,9 +60,7 @@ protected JsonParserSequence(JsonParser[] parsers) {
60
60
this (false , parsers );
61
61
}
62
62
63
- /**
64
- * @since 2.8
65
- */
63
+ // @since 2.8
66
64
protected JsonParserSequence (boolean checkForExistingToken , JsonParser [] parsers )
67
65
{
68
66
super (parsers [0 ]);
Original file line number Diff line number Diff line change @@ -54,6 +54,8 @@ public void setRootValueSeparator(String sep) {
54
54
}
55
55
56
56
/**
57
+ * @param separators Separator definitions
58
+ *
57
59
* @since 2.9
58
60
*/
59
61
public MinimalPrettyPrinter setSeparators (Separators separators ) {
Original file line number Diff line number Diff line change 7
7
import com .fasterxml .jackson .core .io .NumberInput ;
8
8
9
9
/**
10
- * TextBuffer is a class similar to {@link StringBuffer}, with
10
+ * TextBuffer is a class similar to {@link java.lang. StringBuffer}, with
11
11
* following differences:
12
12
*<ul>
13
13
* <li>TextBuffer uses segments character arrays, to avoid having
You can’t perform that action at this time.
0 commit comments