Browse Source

Merge pull request #125 from trajano/patch-1

Remove unused logger from class
pull/133/head
kallestenflo 9 years ago
parent
commit
fbc15e9c9f
  1. 4
      json-path/src/main/java/com/jayway/jsonpath/internal/token/EvaluationContextImpl.java
  2. 5
      json-path/src/main/java/com/jayway/jsonpath/spi/json/AbstractJsonProvider.java

4
json-path/src/main/java/com/jayway/jsonpath/internal/token/EvaluationContextImpl.java

@ -23,8 +23,6 @@ import com.jayway.jsonpath.internal.EvaluationContext;
import com.jayway.jsonpath.internal.Path; import com.jayway.jsonpath.internal.Path;
import com.jayway.jsonpath.internal.PathRef; import com.jayway.jsonpath.internal.PathRef;
import com.jayway.jsonpath.spi.json.JsonProvider; import com.jayway.jsonpath.spi.json.JsonProvider;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collection; import java.util.Collection;
@ -40,8 +38,6 @@ import static com.jayway.jsonpath.internal.Utils.notNull;
*/ */
public class EvaluationContextImpl implements EvaluationContext { public class EvaluationContextImpl implements EvaluationContext {
private static final Logger logger = LoggerFactory.getLogger(EvaluationContextImpl.class);
private final Configuration configuration; private final Configuration configuration;
private final Object valueResult; private final Object valueResult;
private final Object pathResult; private final Object pathResult;

5
json-path/src/main/java/com/jayway/jsonpath/spi/json/AbstractJsonProvider.java

@ -15,8 +15,6 @@
package com.jayway.jsonpath.spi.json; package com.jayway.jsonpath.spi.json;
import com.jayway.jsonpath.JsonPathException; import com.jayway.jsonpath.JsonPathException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Collection; import java.util.Collection;
import java.util.List; import java.util.List;
@ -24,9 +22,6 @@ import java.util.Map;
public abstract class AbstractJsonProvider implements JsonProvider { public abstract class AbstractJsonProvider implements JsonProvider {
private static final Logger logger = LoggerFactory.getLogger(AbstractJsonProvider.class);
/** /**
* checks if object is an array * checks if object is an array
* *

Loading…
Cancel
Save