@@ -1012,7 +1012,7 @@ public static CBORObject DecodeFromBytes(
10121012 * object is converted to JSON with {@code ToJSONString}, then the JSON is
10131013 * converted back to CBOR with this method, the new CBOR object will not
10141014 * necessarily be the same as the old CBOR object, especially if the old CBOR
1015- * object uses data types not available in JSON, such as integers in map
1015+ * object uses data types not supported in JSON, such as integers in map
10161016 * keys.</p>
10171017 * @param str A text string in JSON format. The entire string must contain a
10181018 * single JSON object and not multiple objects. The string may not begin with a
@@ -1041,7 +1041,7 @@ public static CBORObject FromJSONString(String str, int offset, int count) {
10411041 * </p> <p>Note that if a CBOR object is converted to JSON with {@code
10421042 * ToJSONString}, then the JSON is converted back to CBOR with this method, the
10431043 * new CBOR object will not necessarily be the same as the old CBOR object,
1044- * especially if the old CBOR object uses data types not available in JSON,
1044+ * especially if the old CBOR object uses data types not supported in JSON,
10451045 * such as integers in map keys.</p>
10461046 * @param str A text string in JSON format. The entire string must contain a
10471047 * single JSON object and not multiple objects. The string may not begin with a
@@ -1071,7 +1071,7 @@ public static CBORObject FromJSONString(
10711071 * object is converted to JSON with {@code ToJSONString}, then the JSON is
10721072 * converted back to CBOR with this method, the new CBOR object will not
10731073 * necessarily be the same as the old CBOR object, especially if the old CBOR
1074- * object uses data types not available in JSON, such as integers in map
1074+ * object uses data types not supported in JSON, such as integers in map
10751075 * keys.</p>
10761076 * @param str A text string in JSON format. The entire string must contain a
10771077 * single JSON object and not multiple objects. The string may not begin with a
@@ -1090,7 +1090,7 @@ public static CBORObject FromJSONString(String str) {
10901090 * </p> <p>Note that if a CBOR object is converted to JSON with {@code
10911091 * ToJSONString}, then the JSON is converted back to CBOR with this method, the
10921092 * new CBOR object will not necessarily be the same as the old CBOR object,
1093- * especially if the old CBOR object uses data types not available in JSON,
1093+ * especially if the old CBOR object uses data types not supported in JSON,
10941094 * such as integers in map keys.</p>
10951095 * @param str The parameter {@code str} is a text string.
10961096 * @param offset An index, starting at 0, showing where the desired portion of
@@ -2443,7 +2443,7 @@ public static CBORObject FromObject(
24432443 * com.upokecenter.cbor.CBORObject.FromObject(System.Byte[])}.</li><li>In
24442444 * the.NET version, a nullable is converted to {@code CBORObject.Null} if the
24452445 * nullable's value is {@code null} , or converted according to the nullable's
2446- * underlying type, if that type is allowed for this method.</li><li>In the
2446+ * underlying type, if that type is supported by this method.</li><li>In the
24472447 * Java version, a number of type {@code BigInteger} or {@code BigDecimal} is
24482448 * converted to the corresponding CBOR number.</li><li>A number of type {@code
24492449 * EDecimal} , {@code EFloat} , {@code EInteger} , and {@code ERational} in the
@@ -3237,7 +3237,7 @@ public static CBORObject ReadJSON(
32373237 * is thrown.</p> <p>Note that if a CBOR object is converted to JSON with
32383238 * {@code ToJSONBytes}, then the JSON is converted back to CBOR with this
32393239 * method, the new CBOR object will not necessarily be the same as the old CBOR
3240- * object, especially if the old CBOR object uses data types not available in
3240+ * object, especially if the old CBOR object uses data types not supported in
32413241 * JSON, such as integers in map keys.</p>
32423242 * @param bytes A byte array in JSON format. The entire byte array must contain
32433243 * a single JSON object and not multiple objects. The byte array may begin with
@@ -3264,7 +3264,7 @@ public static CBORObject FromJSONBytes(byte[] bytes) {
32643264 * </p> <p>Note that if a CBOR object is converted to JSON with {@code
32653265 * ToJSONBytes}, then the JSON is converted back to CBOR with this method, the
32663266 * new CBOR object will not necessarily be the same as the old CBOR object,
3267- * especially if the old CBOR object uses data types not available in JSON,
3267+ * especially if the old CBOR object uses data types not supported in JSON,
32683268 * such as integers in map keys.</p>
32693269 * @param bytes A byte array in JSON format. The entire byte array must contain
32703270 * a single JSON object and not multiple objects. The byte array may begin with
@@ -3305,7 +3305,7 @@ public static CBORObject FromJSONBytes(
33053305 * is thrown.</p> <p>Note that if a CBOR object is converted to JSON with
33063306 * {@code ToJSONBytes}, then the JSON is converted back to CBOR with this
33073307 * method, the new CBOR object will not necessarily be the same as the old CBOR
3308- * object, especially if the old CBOR object uses data types not available in
3308+ * object, especially if the old CBOR object uses data types not supported in
33093309 * JSON, such as integers in map keys.</p>
33103310 * @param bytes A byte array, the specified portion of which is in JSON format.
33113311 * The specified portion of the byte array must contain a single JSON object
@@ -3339,7 +3339,7 @@ public static CBORObject FromJSONBytes(byte[] bytes, int offset, int
33393339 * </p> <p>Note that if a CBOR object is converted to JSON with {@code
33403340 * ToJSONBytes}, then the JSON is converted back to CBOR with this method, the
33413341 * new CBOR object will not necessarily be the same as the old CBOR object,
3342- * especially if the old CBOR object uses data types not available in JSON,
3342+ * especially if the old CBOR object uses data types not supported in JSON,
33433343 * such as integers in map keys.</p>
33443344 * @param bytes A byte array, the specified portion of which is in JSON format.
33453345 * The specified portion of the byte array must contain a single JSON object
@@ -5493,7 +5493,7 @@ public CBORObject Set(int key, CBORObject mapValue) {
54935493 * can be used to write out certain keys of a CBOR map in a given order to a
54945494 * JSON string, or to write out a CBOR object as part of a JSON text
54955495 * sequence.</p> <p><b>Warning:</b> In general, if this CBOR object contains
5496- * integer map keys or uses other features not available in JSON, and the
5496+ * integer map keys or uses other features not supported in JSON, and the
54975497 * application converts this CBOR object to JSON and back to CBOR, the
54985498 * application <i>should not</i> expect the new CBOR object to be exactly the
54995499 * same as the original. This is because the conversion in many cases may have
@@ -5543,7 +5543,7 @@ public String ToJSONString() {
55435543 * other than true and false will be converted to null. (This doesn't include
55445544 * floating-point numbers.)</li><li>Infinity and not-a-number will be converted
55455545 * to null.</li></ul> <p><b>Warning:</b> In general, if this CBOR object
5546- * contains integer map keys or uses other features not available in JSON, and
5546+ * contains integer map keys or uses other features not supported in JSON, and
55475547 * the application converts this CBOR object to JSON and back to CBOR, the
55485548 * application <i>should not</i> expect the new CBOR object to be exactly the
55495549 * same as the original. This is because the conversion in many cases may have
@@ -6629,7 +6629,7 @@ private static boolean CBORMapEquals(
66296629 return false ;
66306630 }
66316631 if (kvp .getValue () == null ) {
6632- // Null (as opposed to CBORObject.Null) values not available in CBOR maps.
6632+ // Null (as opposed to CBORObject.Null) values not supported in CBOR maps.
66336633 throw new IllegalStateException ();
66346634 }
66356635 if (!kvp .getValue ().equals (valueB )) {
0 commit comments