Skip to content

Commit

Permalink
fixing stleary#291
Browse files Browse the repository at this point in the history
  • Loading branch information
erosb committed Oct 5, 2016
1 parent c24be0e commit e0616a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JSONPointer.java
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public JSONPointer(String pointer) {
if (pointer == null) {
throw new NullPointerException("pointer cannot be null");
}
if (pointer.isEmpty()) {
if (pointer.isEmpty() || pointer.equals("#")) {
refTokens = Collections.emptyList();
return;
}
Expand Down

0 comments on commit e0616a1

Please sign in to comment.