Browse Source

removed System.out prints

pull/1/merge
kalle 14 years ago
parent
commit
e8808b61da
  1. 2
      json-path/src/main/java/com/jayway/jsonpath/filter/ListFilter.java
  2. 10
      json-path/src/test/java/com/jayway/jsonpath/JsonPathTest.java

2
json-path/src/main/java/com/jayway/jsonpath/filter/ListFilter.java

@ -165,8 +165,6 @@ public class ListFilter extends JsonPathFilterBase {
} }
String expression = propertyValue + " " + operator + " " + expected; String expression = propertyValue + " " + operator + " " + expected;
System.out.println("EVAL" + expression);
return ExpressionEvaluator.eval(propertyValue, operator, expected); return ExpressionEvaluator.eval(propertyValue, operator, expected);

10
json-path/src/test/java/com/jayway/jsonpath/JsonPathTest.java

@ -64,13 +64,9 @@ public class JsonPathTest {
@Test @Test
public void read_store_book_1() throws Exception { public void read_store_book_1() throws Exception {
JsonPath path = JsonPath.compile("$.store.book[1]"); JsonPath path = JsonPath.compile("$.store.book[1]");
List<Map> list = path.read(DOCUMENT); List<Map> list = path.read(DOCUMENT);
System.out.println(list.toString());
} }
@Test @Test
@ -79,7 +75,6 @@ public class JsonPathTest {
List<Object> list = path.read(DOCUMENT); List<Object> list = path.read(DOCUMENT);
System.out.println(list.toString());
} }
@Test @Test
@ -155,12 +150,7 @@ public class JsonPathTest {
@Test @Test
public void all_members_of_all_documents() throws Exception { public void all_members_of_all_documents() throws Exception {
List<String> all = JsonPath.read(DOCUMENT, "$..*"); List<String> all = JsonPath.read(DOCUMENT, "$..*");
System.out.println(StringUtils.join(all, "\n"));
System.out.println(all.toString());
} }
@Test @Test

Loading…
Cancel
Save