Skip to content

Commit d0889cb

Browse files
committed
update Java version
1 parent c967d89 commit d0889cb

33 files changed

+46
-42
lines changed

api/com.upokecenter.cbor.CBORObject.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2765,11 +2765,13 @@ Converts this object to a string in JavaScript Object Notation (JSON)
27652765
string will not begin with a byte-order mark (U + FEFF); RFC 7159 (the
27662766
JSON specification) forbids placing a byte-order mark at the
27672767
beginning of a JSON string.</li> <li>Byte strings are converted to
2768-
Base64 URL by default.</li> <li>Rational numbers will be converted to
2769-
their exact form, if possible, otherwise to a high-precision
2770-
approximation. (The resulting approximation could overflow to
2771-
infinity, in which case the rational number is converted to
2772-
null.)</li> <li>Simple values other than true and false will be
2768+
Base64 URL without whitespace or padding by default. (A byte string
2769+
will instead be converted to traditional base64 without whitespace or
2770+
padding if it has tag 22, or base16 for tag 23.)</li> <li>Rational
2771+
numbers will be converted to their exact form, if possible, otherwise
2772+
to a high-precision approximation. (The resulting approximation could
2773+
overflow to infinity, in which case the rational number is converted
2774+
to null.)</li> <li>Simple values other than true and false will be
27732775
converted to null. (This doesn't include floating-point
27742776
numbers.)</li> <li>Infinity and not-a-number will be converted to
27752777
null.</li></ul>

src/main/java/com/upokecenter/cbor/CBORBigInteger.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.upokecenter.cbor;
22
/*
3-
Written in 2014 by Peter O.
3+
Written by Peter O. in 2014.
44
Any copyright is dedicated to the Public Domain.
55
http://creativecommons.org/publicdomain/zero/1.0/
66
If you like this, you should donate to Peter O.

src/main/java/com/upokecenter/cbor/CBORDataUtilities.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.upokecenter.cbor;
22
/*
3-
Written in 2013 by Peter O.
3+
Written by Peter O. in 2013.
44
Any copyright is dedicated to the Public Domain.
55
http://creativecommons.org/publicdomain/zero/1.0/
66
If you like this, you should donate to Peter O.

src/main/java/com/upokecenter/cbor/CBORDouble.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.upokecenter.cbor;
22
/*
3-
Written in 2014 by Peter O.
3+
Written by Peter O. in 2014.
44
Any copyright is dedicated to the Public Domain.
55
http://creativecommons.org/publicdomain/zero/1.0/
66
If you like this, you should donate to Peter O.

src/main/java/com/upokecenter/cbor/CBORExtendedDecimal.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.upokecenter.cbor;
22
/*
3-
Written in 2014 by Peter O.
3+
Written by Peter O. in 2014.
44
Any copyright is dedicated to the Public Domain.
55
http://creativecommons.org/publicdomain/zero/1.0/
66
If you like this, you should donate to Peter O.

src/main/java/com/upokecenter/cbor/CBORExtendedFloat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.upokecenter.cbor;
22
/*
3-
Written in 2014 by Peter O.
3+
Written by Peter O. in 2014.
44
Any copyright is dedicated to the Public Domain.
55
http://creativecommons.org/publicdomain/zero/1.0/
66
If you like this, you should donate to Peter O.

src/main/java/com/upokecenter/cbor/CBORExtendedRational.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.upokecenter.cbor;
22
/*
3-
Written in 2014 by Peter O.
3+
Written by Peter O. in 2014.
44
Any copyright is dedicated to the Public Domain.
55
http://creativecommons.org/publicdomain/zero/1.0/
66
If you like this, you should donate to Peter O.

src/main/java/com/upokecenter/cbor/CBORInteger.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.upokecenter.cbor;
22
/*
3-
Written in 2014 by Peter O.
3+
Written by Peter O. in 2014.
44
Any copyright is dedicated to the Public Domain.
55
http://creativecommons.org/publicdomain/zero/1.0/
66
If you like this, you should donate to Peter O.

src/main/java/com/upokecenter/cbor/CBORObject.java

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.upokecenter.cbor;
22
/*
3-
Written in 2013 by Peter O.
3+
Written by Peter O. in 2013.
44
Any copyright is dedicated to the Public Domain.
55
http://creativecommons.org/publicdomain/zero/1.0/
66
If you like this, you should donate to Peter O.
@@ -3604,11 +3604,13 @@ public CBORObject Set(Object key, Object valueOb) {
36043604
* string will not begin with a byte-order mark (U + FEFF); RFC 7159 (the
36053605
* JSON specification) forbids placing a byte-order mark at the
36063606
* beginning of a JSON string.</li> <li>Byte strings are converted to
3607-
* Base64 URL by default.</li> <li>Rational numbers will be converted to
3608-
* their exact form, if possible, otherwise to a high-precision
3609-
* approximation. (The resulting approximation could overflow to
3610-
* infinity, in which case the rational number is converted to
3611-
* null.)</li> <li>Simple values other than true and false will be
3607+
* Base64 URL without whitespace or padding by default. (A byte string
3608+
* will instead be converted to traditional base64 without whitespace or
3609+
* padding if it has tag 22, or base16 for tag 23.)</li> <li>Rational
3610+
* numbers will be converted to their exact form, if possible, otherwise
3611+
* to a high-precision approximation. (The resulting approximation could
3612+
* overflow to infinity, in which case the rational number is converted
3613+
* to null.)</li> <li>Simple values other than true and false will be
36123614
* converted to null. (This doesn't include floating-point
36133615
* numbers.)</li> <li>Infinity and not-a-number will be converted to
36143616
* null.</li></ul>

src/main/java/com/upokecenter/cbor/CBORObjectMath.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.upokecenter.cbor;
22
/*
3-
Written in 2013 by Peter O.
3+
Written by Peter O. in 2013.
44
Any copyright is dedicated to the Public Domain.
55
http://creativecommons.org/publicdomain/zero/1.0/
66
If you like this, you should donate to Peter O.

0 commit comments

Comments
 (0)