This commit is contained in:
Bence Erős 2016-10-05 14:57:42 +02:00
parent c24be0e4ea
commit e0616a129e

View File

@ -138,7 +138,7 @@ public class JSONPointer {
if (pointer == null) {
throw new NullPointerException("pointer cannot be null");
}
if (pointer.isEmpty()) {
if (pointer.isEmpty() || pointer.equals("#")) {
refTokens = Collections.emptyList();
return;
}