Skip to content

Commit b38a0e4

Browse files
authored
typo in new exception message (#1076)
1 parent 4f39bd0 commit b38a0e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/fasterxml/jackson/core/base/ParserBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1565,7 +1565,7 @@ protected static int[] growArrayBy(int[] arr, int more) throws IllegalArgumentEx
15651565
}
15661566
final int len = arr.length + more;
15671567
if (len < 0) {
1568-
throw new IllegalArgumentException("Unable to grow array to longer to `Integer.MAX_VALUE`");
1568+
throw new IllegalArgumentException("Unable to grow array to longer than `Integer.MAX_VALUE`");
15691569
}
15701570
return Arrays.copyOf(arr, len);
15711571
}

0 commit comments

Comments
 (0)