Skip to content

Commit

Permalink
Fix #173 for 2.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Dec 7, 2014
1 parent 8c700f5 commit 1a9cc45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions release-notes/VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Project: jackson-core
Version: 2.3.5 (xx-xxx-2014)

#152: Exception for property names longer than 256k
#173: An exception is thrown for a valid JsonPointer expression

------------------------------------------------------------------------
=== History: ===
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fasterxml/jackson/core/JsonPointer.java
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ private final static int _parseIndex(String str) {
return -1;
}
for (int i = 0; i < len; ++i) {
char c = str.charAt(i++);
char c = str.charAt(i);
if (c > '9' || c < '0') {
return -1;
}
Expand Down

0 comments on commit 1a9cc45

Please sign in to comment.