File tree Expand file tree Collapse file tree 3 files changed +7
-9
lines changed
module/jsonurl-core/src/main Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -51,9 +51,7 @@ private PercentCodec() {
51
51
}
52
52
53
53
/**
54
- * Get the next codepoint, percent decoding if necessary. This will
55
- * validate the literal character (not the decoded character) as
56
- * {@code valid[CHAR] & mask}.
54
+ * Get the next codepoint, percent decoding if necessary.
57
55
* @param text a valid CharIterator
58
56
* @return a UNICODE codepoint
59
57
*/
@@ -62,10 +60,10 @@ public static int decode(CharIterator text) throws IOException {
62
60
}
63
61
64
62
/**
65
- * Get the next codepoint, percent decoding if necessary. This will
66
- * validate the literal character (not the decoded character) as
67
- * {@code valid[CHAR] & mask}.
63
+ * Get the next codepoint, percent decoding if necessary.
68
64
* @param text a valid CharIterator
65
+ * @param decodePlus if true, decode {@code +} as though it
66
+ * was {@code %20}
69
67
* @return a UNICODE codepoint
70
68
*/
71
69
@ SuppressWarnings ({
Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ <h2>The Streaming API</h2>
29
29
< h2 > < a id ="security " href ="#security "> Security</ a > </ h2 >
30
30
< p > The parser is designed to parse untrusted input. It supports limits on
31
31
the number of parsed values and depth of nested arrays or objects. When the
32
- limit is exceeded a LimitException is thrown. Sane limit values are set by
33
- default.
32
+ limit is exceeded a LimitException is thrown. Reasonable limit values are
33
+ set by default.
34
34
35
35
</ body >
36
36
</ html >
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ <h2><a id="security" href="#security">Artifacts and Packages</a></h2>
28
28
29
29
< dt > jsonurl-factory</ dt >
30
30
< dd > Provides the < a href ="org/jsonurl/factory/package-summary.html "> org.jsonurl.factory</ a > package</ dd >
31
- < dd > Provides the < a href ="org/jsonurl/factory/ j2se/package-summary.html "> org.jsonurl.j2se</ a > package</ dd >
31
+ < dd > Provides the < a href ="org/jsonurl/j2se/package-summary.html "> org.jsonurl.j2se</ a > package</ dd >
32
32
33
33
< dt > jsonurl-jsonorg</ dt >
34
34
< dd > Provides the < a href ="org/jsonurl/jsonorg/package-summary.html "> org.jsonurl.jsonorg</ a > package</ dd >
You can’t perform that action at this time.
0 commit comments