Skip to content

Commit cdf06c5

Browse files
committed
update Java version
1 parent 4ea6462 commit cdf06c5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
import com.upokecenter.numbers.*;
1111

1212
/**
13-
* Contains utility methods that may have use outside of the CBORObject class.
13+
* Contains auxiliary methods that may have use outside of the CBORObject
14+
* class.
1415
*/
1516
final class CBORUtilities {
1617
private CBORUtilities() {

src/test/java/com/upokecenter/test/MiniCBOR.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public static boolean ReadBoolean(InputStream stream) throws java.io.IOException
116116
} else if (b == 0xdb) {
117117
stream.skip(8);
118118
} else if (b > 0xdb) {
119-
throw new IOException("Not a boolean");
119+
throw new IOException("Not a Boolean");
120120
}
121121
b = stream.read();
122122
}
@@ -126,7 +126,7 @@ public static boolean ReadBoolean(InputStream stream) throws java.io.IOException
126126
case 0xf5:
127127
return true;
128128
default:
129-
throw new IOException("Not a boolean");
129+
throw new IOException("Not a Boolean");
130130
}
131131
}
132132

0 commit comments

Comments
 (0)