From 3a1c5b9793b32e5e86ae2eba9e55468cb3fd4fb4 Mon Sep 17 00:00:00 2001 From: Jochen Berger Date: Thu, 18 Sep 2014 08:54:28 +0200 Subject: [PATCH] remove `System.out.println` --- .../com/jayway/jsonpath/internal/spi/json/GsonProvider.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/json-path/src/main/java/com/jayway/jsonpath/internal/spi/json/GsonProvider.java b/json-path/src/main/java/com/jayway/jsonpath/internal/spi/json/GsonProvider.java index 20490d2c..9e377421 100644 --- a/json-path/src/main/java/com/jayway/jsonpath/internal/spi/json/GsonProvider.java +++ b/json-path/src/main/java/com/jayway/jsonpath/internal/spi/json/GsonProvider.java @@ -31,7 +31,6 @@ public class GsonProvider extends AbstractJsonProvider { public static Object unwrap(Object o) { - System.out.println("unwrap " + o); if (o == null) { return null; } @@ -111,7 +110,6 @@ public class GsonProvider extends AbstractJsonProvider { @Override public Object getArrayIndex(Object obj, int idx) { - System.out.println("getArrayIndex " + obj + " (" + obj.getClass() + ")"); return unwrap(toJsonArray(obj).get(idx)); } @@ -149,14 +147,12 @@ public class GsonProvider extends AbstractJsonProvider { @Override public boolean isMap(Object obj) { - System.out.println("isMap " + obj + " (" + obj.getClass() + ")"); //return (obj instanceof JsonObject || obj instanceof Map); return (obj instanceof JsonObject); } @Override public Collection getPropertyKeys(Object obj) { - System.out.println("getPropertyKeys " + obj); List keys = new ArrayList(); for (Map.Entry entry : toJsonObject(obj).entrySet()) { keys.add(entry.getKey()); @@ -166,7 +162,6 @@ public class GsonProvider extends AbstractJsonProvider { @Override public int length(Object obj) { - System.out.println("length " + obj); if (isArray(obj)) { return toJsonArray(obj).size(); } else if (isMap(obj)) { @@ -184,7 +179,6 @@ public class GsonProvider extends AbstractJsonProvider { @Override public Iterable toIterable(Object obj) { - System.out.println("toIterable " + obj + " (" + obj.getClass() + ")"); if (isArray(obj)) { JsonArray arr = toJsonArray(obj); List values = new ArrayList(arr.size());