diff --git a/src/main/java/com/upokecenter/cbor/CBORUtilities.java b/src/main/java/com/upokecenter/cbor/CBORUtilities.java index bed59d1..f4c2923 100644 --- a/src/main/java/com/upokecenter/cbor/CBORUtilities.java +++ b/src/main/java/com/upokecenter/cbor/CBORUtilities.java @@ -10,7 +10,8 @@ import com.upokecenter.numbers.*; /** - * Contains utility methods that may have use outside of the CBORObject class. + * Contains auxiliary methods that may have use outside of the CBORObject + * class. */ final class CBORUtilities { private CBORUtilities() { diff --git a/src/test/java/com/upokecenter/test/MiniCBOR.java b/src/test/java/com/upokecenter/test/MiniCBOR.java index f4f5f23..c9cb617 100644 --- a/src/test/java/com/upokecenter/test/MiniCBOR.java +++ b/src/test/java/com/upokecenter/test/MiniCBOR.java @@ -116,7 +116,7 @@ public static boolean ReadBoolean(InputStream stream) throws java.io.IOException } else if (b == 0xdb) { stream.skip(8); } else if (b > 0xdb) { - throw new IOException("Not a boolean"); + throw new IOException("Not a Boolean"); } b = stream.read(); } @@ -126,7 +126,7 @@ public static boolean ReadBoolean(InputStream stream) throws java.io.IOException case 0xf5: return true; default: -throw new IOException("Not a boolean"); +throw new IOException("Not a Boolean"); } }