Browse Source

Merge pull request #422 from hansthen/patch-1

Fix typo in error message in PathCompiler.java
pull/517/head
kallestenflo 6 years ago committed by GitHub
parent
commit
cfa52d6325
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      json-path/src/main/java/com/jayway/jsonpath/internal/path/PathCompiler.java

2
json-path/src/main/java/com/jayway/jsonpath/internal/path/PathCompiler.java

@ -117,7 +117,7 @@ public class PathCompiler {
path.incrementPosition(1);
if(path.currentChar() != PERIOD && path.currentChar() != OPEN_SQUARE_BRACKET){
fail("Illegal character at position " + path.position() + " expected '.' or '[");
fail("Illegal character at position " + path.position() + " expected '.' or '['");
}
PathTokenAppender appender = pathToken.getPathTokenAppender();

Loading…
Cancel
Save