Browse Source

removing commented out code

pull/335/head
mattg 8 years ago
parent
commit
eb0503db1d
  1. 2
      json-path/src/main/java/com/jayway/jsonpath/internal/path/FunctionPathToken.java

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

@ -51,12 +51,10 @@ public class FunctionPathToken extends PathToken {
if (!param.hasEvaluated()) {
switch (param.getType()) {
case PATH:
//param.setCachedValue(param.getPath().evaluate(ctx.rootDocument(), ctx.rootDocument(), ctx.configuration()).getValue());
param.setLateBinding(new PathLateBindingValue(param.getType(), param.getPath(), ctx.rootDocument(), ctx.configuration()));
param.setEvaluated(true);
break;
case JSON:
// ctx.configuration().jsonProvider().parse(param.getJson())
param.setLateBinding(new JsonLateBindingValue(ctx.configuration().jsonProvider(), param));
param.setEvaluated(true);
break;

Loading…
Cancel
Save