Browse Source

Merge pull request #139 from trajano/minor-fixes

Minor improvements
pull/138/merge
kallestenflo 9 years ago
parent
commit
7e3fb29436
  1. 2
      .travis.yml
  2. 7
      json-path/src/main/java/com/jayway/jsonpath/internal/PathCompiler.java

2
.travis.yml

@ -1 +1,3 @@
language: java language: java
sudo: false

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

@ -8,8 +8,6 @@ import com.jayway.jsonpath.internal.token.ArraySliceOperation;
import com.jayway.jsonpath.internal.token.PathTokenAppender; import com.jayway.jsonpath.internal.token.PathTokenAppender;
import com.jayway.jsonpath.internal.token.PathTokenFactory; import com.jayway.jsonpath.internal.token.PathTokenFactory;
import com.jayway.jsonpath.internal.token.RootPathToken; import com.jayway.jsonpath.internal.token.RootPathToken;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collection; import java.util.Collection;
@ -22,8 +20,6 @@ import static java.util.Arrays.asList;
public class PathCompiler { public class PathCompiler {
private static final Logger logger = LoggerFactory.getLogger(PathCompiler.class);
private static final char DOC_CONTEXT = '$'; private static final char DOC_CONTEXT = '$';
private static final char EVAL_CONTEXT = '@'; private static final char EVAL_CONTEXT = '@';
private static final char OPEN_SQUARE_BRACKET = '['; private static final char OPEN_SQUARE_BRACKET = '[';
@ -562,6 +558,3 @@ public class PathCompiler {
} }
} }
} }

Loading…
Cancel
Save