Skip to content

Commit

Permalink
update Java version
Browse files Browse the repository at this point in the history
  • Loading branch information
peteroupc committed Dec 22, 2024
1 parent 4ea6462 commit cdf06c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/main/java/com/upokecenter/cbor/CBORUtilities.java
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/com/upokecenter/test/MiniCBOR.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand All @@ -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");
}
}

Expand Down

0 comments on commit cdf06c5

Please sign in to comment.