Skip to content

Commit e0616a1

Browse files
committed
fixing stleary#291
1 parent c24be0e commit e0616a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JSONPointer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public JSONPointer(String pointer) {
138138
if (pointer == null) {
139139
throw new NullPointerException("pointer cannot be null");
140140
}
141-
if (pointer.isEmpty()) {
141+
if (pointer.isEmpty() || pointer.equals("#")) {
142142
refTokens = Collections.emptyList();
143143
return;
144144
}

0 commit comments

Comments
 (0)