Skip to content

Commit f1057da

Browse files
committed
update Java version
1 parent 4b9a6dc commit f1057da

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,6 @@ private static boolean isIUserInfoChar(int c) {
361361
* @throws IllegalArgumentException Either {@code offset} or {@code length} is
362362
* less than 0 or greater than {@code s} 's length, or {@code s} ' s
363363
* length minus {@code offset} is less than {@code length}.
364-
* @throws java.lang.NullPointerException --.
365364
*/
366365
public static boolean isValidCurieReference(String s, int offset, int length) {
367366
if (s == null) {
@@ -447,9 +446,8 @@ public static boolean isValidCurieReference(String s, int offset, int length) {
447446
}
448447

449448
public static boolean isValidIRI(String s) {
450-
return (
451-
(
452-
s == null) ? null : splitIRI(
449+
return ((s == null) ?
450+
null : splitIRI(
453451
s,
454452
0,
455453
s.length(),

0 commit comments

Comments
 (0)