wicket-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mgrigo...@apache.org
Subject git commit: WICKET-5136 CheckingObjectOutputStream#check(Object) swallows Exception without logging the cause
Date Mon, 08 Apr 2013 10:06:34 GMT
Updated Branches:
  refs/heads/master 518c933bb -> 6dd0fe21b


WICKET-5136 CheckingObjectOutputStream#check(Object) swallows Exception without logging the
cause


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/6dd0fe21
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/6dd0fe21
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/6dd0fe21

Branch: refs/heads/master
Commit: 6dd0fe21b04b1af7a1fc26ffe40f820bc2edb31b
Parents: 518c933
Author: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Authored: Mon Apr 8 13:06:07 2013 +0300
Committer: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Committed: Mon Apr 8 13:06:07 2013 +0300

----------------------------------------------------------------------
 .../checker/CheckingObjectOutputStream.java        |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/6dd0fe21/wicket-core/src/main/java/org/apache/wicket/core/util/objects/checker/CheckingObjectOutputStream.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/core/util/objects/checker/CheckingObjectOutputStream.java
b/wicket-core/src/main/java/org/apache/wicket/core/util/objects/checker/CheckingObjectOutputStream.java
index d6e5715..bf56d41 100644
--- a/wicket-core/src/main/java/org/apache/wicket/core/util/objects/checker/CheckingObjectOutputStream.java
+++ b/wicket-core/src/main/java/org/apache/wicket/core/util/objects/checker/CheckingObjectOutputStream.java
@@ -345,8 +345,8 @@ public class CheckingObjectOutputStream extends ObjectOutputStream
 		}
 		catch (RuntimeException e)
 		{
-			log.warn("Wasn't possible to check the object '{}' possible due an problematic " +
-					"implementation of equals method", obj.getClass());
+			log.warn(String.format("Wasn't possible to check the object '%s' possible due an problematic
" +
+					"implementation of equals method", obj.getClass()), e);
 			/*
 			 * Can't check if this obj were in stack, giving up because we don't want to throw an
 			 * invaluable exception to user. The main goal of this checker is to find non


Mime
View raw message