|
61 | 61 | * returns an empty array and the Type property, or "getType()" in Java, |
62 | 62 | * returns TextString). This is because the natural ordering of these |
63 | 63 | * instances is consistent with the Equals method.</p> <p><b>Thread |
64 | | - * Safety:</b> </p> <p>CBOR objects that are numbers, "simple values" , |
| 64 | + * Safety:</b> </p> <p>CBOR objects that are numbers, "simple values", |
65 | 65 | * and text strings are immutable (their values can't be changed), so |
66 | 66 | * they are inherently safe for use by multiple threads.</p> <p>CBOR |
67 | 67 | * objects that are arrays, maps, and byte strings are mutable, but this |
@@ -258,7 +258,7 @@ public static void AddTagHandler(BigInteger bigintTag, ICBORTag handler) { |
258 | 258 | } |
259 | 259 | if (bigintTag.signum() < 0) { |
260 | 260 | throw new IllegalArgumentException("bigintTag.signum() (" + |
261 | | - bigintTag.signum() + ") is less than " + "0"); |
| 261 | + bigintTag.signum() + ") is less than 0"); |
262 | 262 | } |
263 | 263 | if (bigintTag.bitLength() > 64) { |
264 | 264 | throw new IllegalArgumentException("bigintTag.bitLength (" + |
@@ -1372,7 +1372,7 @@ public byte[] GetByteString() { |
1372 | 1372 | public boolean HasTag(int tagValue) { |
1373 | 1373 | if (tagValue < 0) { |
1374 | 1374 | throw new IllegalArgumentException("tagValue (" + tagValue + |
1375 | | - ") is less than " + "0"); |
| 1375 | + ") is less than 0"); |
1376 | 1376 | } |
1377 | 1377 | CBORObject obj = this; |
1378 | 1378 | while (true) { |
@@ -3320,7 +3320,7 @@ public static CBORObject NewMap() { |
3320 | 3320 | public static CBORObject FromSimpleValue(int simpleValue) { |
3321 | 3321 | if (simpleValue < 0) { |
3322 | 3322 | throw new IllegalArgumentException("simpleValue (" + simpleValue + |
3323 | | - ") is less than " + "0"); |
| 3323 | + ") is less than 0"); |
3324 | 3324 | } |
3325 | 3325 | if (simpleValue > 255) { |
3326 | 3326 | throw new IllegalArgumentException("simpleValue (" + simpleValue + |
@@ -3767,7 +3767,7 @@ public static CBORObject FromObjectAndTag( |
3767 | 3767 | } |
3768 | 3768 | if (bigintTag.signum() < 0) { |
3769 | 3769 | throw new IllegalArgumentException("bigintTag's sign (" + bigintTag.signum() + |
3770 | | - ") is less than " + "0"); |
| 3770 | + ") is less than 0"); |
3771 | 3771 | } |
3772 | 3772 | if (bigintTag.compareTo(UInt64MaxValue) > 0) { |
3773 | 3773 | throw new IllegalArgumentException( |
@@ -3858,7 +3858,7 @@ public static CBORObject FromObjectAndTag( |
3858 | 3858 | int smallTag) { |
3859 | 3859 | if (smallTag < 0) { |
3860 | 3860 | throw new IllegalArgumentException("smallTag (" + smallTag + |
3861 | | - ") is less than " + "0"); |
| 3861 | + ") is less than 0"); |
3862 | 3862 | } |
3863 | 3863 | ICBORTag tagconv = FindTagConverter(smallTag); |
3864 | 3864 | CBORObject c = FromObject(valueObValue); |
|
0 commit comments