@@ -366,7 +366,7 @@ public enum Feature {
366
366
* Most common reason for disabling this feature is to avoid leaking information about
367
367
* internal information; this may be done for security reasons.
368
368
* Note that even if source reference is included, only parts of contents are usually
369
- * printed, and not the whole contents. Further, many source reference types can not
369
+ * printed, and not the whole contents. Further, many source reference types cannot
370
370
* necessarily access contents (like streams), so only type is indicated, not contents.
371
371
*<p>
372
372
* Since 2.16 feature is <b>disabled</b> by default (before 2.16 it was enabled),
@@ -888,12 +888,12 @@ public void setCurrentValue(Object v) {
888
888
* done after reading all content of interest using parser.
889
889
* Content is released by writing it to given stream if possible;
890
890
* if underlying input is byte-based it can released, if not (char-based)
891
- * it can not .
891
+ * it cannot .
892
892
*
893
893
* @param out OutputStream to which buffered, undecoded content is written to
894
894
*
895
895
* @return -1 if the underlying content source is not byte based
896
- * (that is, input can not be sent to {@link OutputStream};
896
+ * (that is, input cannot be sent to {@link OutputStream};
897
897
* otherwise number of bytes released (0 if there was nothing to release)
898
898
*
899
899
* @throws IOException if write to stream threw exception
@@ -909,12 +909,12 @@ public int releaseBuffered(OutputStream out) throws IOException {
909
909
* done after reading all content of interest using parser.
910
910
* Content is released by writing it to given writer if possible;
911
911
* if underlying input is char-based it can released, if not (byte-based)
912
- * it can not .
912
+ * it cannot .
913
913
*
914
914
* @param w Writer to which buffered but unprocessed content is written to
915
915
*
916
916
* @return -1 if the underlying content source is not char-based
917
- * (that is, input can not be sent to {@link Writer};
917
+ * (that is, input cannot be sent to {@link Writer};
918
918
* otherwise number of chars released (0 if there was nothing to release)
919
919
*
920
920
* @throws IOException if write using Writer threw exception
@@ -1926,7 +1926,7 @@ public short getShortValue() throws IOException
1926
1926
/**
1927
1927
* Numeric accessor that can be called when the current
1928
1928
* token is of type {@link JsonToken#VALUE_NUMBER_INT} and
1929
- * it can not be used as a Java long primitive type due to its
1929
+ * it cannot be used as a Java long primitive type due to its
1930
1930
* magnitude.
1931
1931
* It can also be called for {@link JsonToken#VALUE_NUMBER_FLOAT};
1932
1932
* if so, it is equivalent to calling {@link #getDecimalValue}
@@ -2146,7 +2146,7 @@ public int readBinaryValue(Base64Variant bv, OutputStream out) throws IOExceptio
2146
2146
* and 1 (true), and Strings are parsed using default Java language integer
2147
2147
* parsing rules.
2148
2148
*<p>
2149
- * If representation can not be converted to an int (including structured type
2149
+ * If representation cannot be converted to an int (including structured type
2150
2150
* markers like start/end Object/Array)
2151
2151
* default value of <b>0</b> will be returned; no exceptions are thrown.
2152
2152
*
@@ -2167,7 +2167,7 @@ public int getValueAsInt() throws IOException {
2167
2167
* and 1 (true), and Strings are parsed using default Java language integer
2168
2168
* parsing rules.
2169
2169
*<p>
2170
- * If representation can not be converted to an int (including structured type
2170
+ * If representation cannot be converted to an int (including structured type
2171
2171
* markers like start/end Object/Array)
2172
2172
* specified <b>def</b> will be returned; no exceptions are thrown.
2173
2173
*
@@ -2187,7 +2187,7 @@ public int getValueAsInt() throws IOException {
2187
2187
* and 1 (true), and Strings are parsed using default Java language integer
2188
2188
* parsing rules.
2189
2189
*<p>
2190
- * If representation can not be converted to a long (including structured type
2190
+ * If representation cannot be converted to a long (including structured type
2191
2191
* markers like start/end Object/Array)
2192
2192
* default value of <b>0L</b> will be returned; no exceptions are thrown.
2193
2193
*
@@ -2208,7 +2208,7 @@ public long getValueAsLong() throws IOException {
2208
2208
* and 1 (true), and Strings are parsed using default Java language integer
2209
2209
* parsing rules.
2210
2210
*<p>
2211
- * If representation can not be converted to a long (including structured type
2211
+ * If representation cannot be converted to a long (including structured type
2212
2212
* markers like start/end Object/Array)
2213
2213
* specified <b>def</b> will be returned; no exceptions are thrown.
2214
2214
*
@@ -2230,7 +2230,7 @@ public long getValueAsLong(long def) throws IOException {
2230
2230
* and 1.0 (true), and Strings are parsed using default Java language floating
2231
2231
* point parsing rules.
2232
2232
*<p>
2233
- * If representation can not be converted to a double (including structured types
2233
+ * If representation cannot be converted to a double (including structured types
2234
2234
* like Objects and Arrays),
2235
2235
* default value of <b>0.0</b> will be returned; no exceptions are thrown.
2236
2236
*
@@ -2251,7 +2251,7 @@ public double getValueAsDouble() throws IOException {
2251
2251
* and 1.0 (true), and Strings are parsed using default Java language floating
2252
2252
* point parsing rules.
2253
2253
*<p>
2254
- * If representation can not be converted to a double (including structured types
2254
+ * If representation cannot be converted to a double (including structured types
2255
2255
* like Objects and Arrays),
2256
2256
* specified <b>def</b> will be returned; no exceptions are thrown.
2257
2257
*
@@ -2273,7 +2273,7 @@ public double getValueAsDouble(double def) throws IOException {
2273
2273
* 0 maps to false
2274
2274
* and Strings 'true' and 'false' map to corresponding values.
2275
2275
*<p>
2276
- * If representation can not be converted to a boolean value (including structured types
2276
+ * If representation cannot be converted to a boolean value (including structured types
2277
2277
* like Objects and Arrays),
2278
2278
* default value of <b>false</b> will be returned; no exceptions are thrown.
2279
2279
*
@@ -2294,7 +2294,7 @@ public boolean getValueAsBoolean() throws IOException {
2294
2294
* 0 maps to false
2295
2295
* and Strings 'true' and 'false' map to corresponding values.
2296
2296
*<p>
2297
- * If representation can not be converted to a boolean value (including structured types
2297
+ * If representation cannot be converted to a boolean value (including structured types
2298
2298
* like Objects and Arrays),
2299
2299
* specified <b>def</b> will be returned; no exceptions are thrown.
2300
2300
*
@@ -2314,7 +2314,7 @@ public boolean getValueAsBoolean(boolean def) throws IOException {
2314
2314
* {@link java.lang.String}.
2315
2315
* JSON Strings map naturally; scalar values get converted to
2316
2316
* their textual representation.
2317
- * If representation can not be converted to a String value (including structured types
2317
+ * If representation cannot be converted to a String value (including structured types
2318
2318
* like Objects and Arrays and {@code null} token), default value of
2319
2319
* <b>null</b> will be returned; no exceptions are thrown.
2320
2320
*
@@ -2334,7 +2334,7 @@ public String getValueAsString() throws IOException {
2334
2334
* {@link java.lang.String}.
2335
2335
* JSON Strings map naturally; scalar values get converted to
2336
2336
* their textual representation.
2337
- * If representation can not be converted to a String value (including structured types
2337
+ * If representation cannot be converted to a String value (including structured types
2338
2338
* like Objects and Arrays and {@code null} token), specified default value
2339
2339
* will be returned; no exceptions are thrown.
2340
2340
*
@@ -2363,7 +2363,7 @@ public String getValueAsString() throws IOException {
2363
2363
* Default implementation returns true; overridden by data formats
2364
2364
* that do support native Object Ids. Caller is expected to either
2365
2365
* use a non-native notation (explicit property or such), or fail,
2366
- * in case it can not use native object ids.
2366
+ * in case it cannot use native object ids.
2367
2367
*
2368
2368
* @return {@code True} if the format being read supports native Object Ids;
2369
2369
* {@code false} if not
@@ -2380,7 +2380,7 @@ public String getValueAsString() throws IOException {
2380
2380
* Default implementation returns true; overridden by data formats
2381
2381
* that do support native Type Ids. Caller is expected to either
2382
2382
* use a non-native notation (explicit property or such), or fail,
2383
- * in case it can not use native type ids.
2383
+ * in case it cannot use native type ids.
2384
2384
*
2385
2385
* @return {@code True} if the format being read supports native Type Ids;
2386
2386
* {@code false} if not
@@ -2454,7 +2454,7 @@ public String getValueAsString() throws IOException {
2454
2454
* Note: this method should NOT be used if the result type is a
2455
2455
* container ({@link java.util.Collection} or {@link java.util.Map}.
2456
2456
* The reason is that due to type erasure, key and value types
2457
- * can not be introspected when using this method.
2457
+ * cannot be introspected when using this method.
2458
2458
*
2459
2459
* @param <T> Nominal type parameter for value type
2460
2460
*
0 commit comments