Browse Source

Fix typo in error message in PathCompiler.java

Missing '
pull/422/head
hansthen 7 years ago committed by GitHub
parent
commit
99e05dbac9
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