From 307931bb3c76a768ca94104c613233ab9ea3f177 Mon Sep 17 00:00:00 2001 From: kallestenflo Date: Mon, 30 Sep 2013 10:23:45 +0200 Subject: [PATCH] Removed printStackTrace. --- .../com/jayway/jsonpath/internal/filter/ArrayEvalFilter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/json-path/src/main/java/com/jayway/jsonpath/internal/filter/ArrayEvalFilter.java b/json-path/src/main/java/com/jayway/jsonpath/internal/filter/ArrayEvalFilter.java index 3577dda0..89ae7195 100644 --- a/json-path/src/main/java/com/jayway/jsonpath/internal/filter/ArrayEvalFilter.java +++ b/json-path/src/main/java/com/jayway/jsonpath/internal/filter/ArrayEvalFilter.java @@ -96,8 +96,7 @@ public class ArrayEvalFilter extends PathTokenFilter { } catch (PathNotFoundException e){ return false; } catch (RuntimeException e){ - e.printStackTrace(); - throw new RuntimeException(e); + throw e; } }