From 8262300ea505065c97285f6e52aaf03f09f3e1d1 Mon Sep 17 00:00:00 2001 From: roundrop Date: Mon, 6 Jul 2015 18:32:19 +0900 Subject: [PATCH] Fix AssertionError constructor by jdk 1.5 --- .../test/java/facebook4j/junit/F4JHttpParameterMatchers.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/facebook4j-core/src/test/java/facebook4j/junit/F4JHttpParameterMatchers.java b/facebook4j-core/src/test/java/facebook4j/junit/F4JHttpParameterMatchers.java index ff7413fc..23b74ad6 100644 --- a/facebook4j-core/src/test/java/facebook4j/junit/F4JHttpParameterMatchers.java +++ b/facebook4j-core/src/test/java/facebook4j/junit/F4JHttpParameterMatchers.java @@ -75,7 +75,7 @@ public static Matcher hasPostJsonParameter(final String name, f try { expectedJsonObject = new JSONObject(expectedJsonObjectSource); } catch (JSONException ex) { - throw new AssertionError("failed to parse object source: " + expectedJsonObjectSource, ex); + throw new AssertionError("failed to parse object source: " + expectedJsonObjectSource); } return hasPostJsonParameter(name, expectedJsonObject); }