WW-4504 - Mark current logging layer as @deprecated and use Log4j2 as default 
one

- Remove not necessary toString() call


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/40fdd167
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/40fdd167
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/40fdd167

Branch: refs/heads/master
Commit: 40fdd167dd1da04e9c7b9bc648c0d057a80b0458
Parents: 2627942
Author: Johannes Geppert <joh...@gmail.com>
Authored: Tue May 26 18:07:20 2015 +0200
Committer: Johannes Geppert <joh...@gmail.com>
Committed: Tue May 26 18:07:20 2015 +0200

----------------------------------------------------------------------
 .../xwork2/interceptor/PrefixMethodInvocationUtil.java             | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/40fdd167/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/PrefixMethodInvocationUtil.java
----------------------------------------------------------------------
diff --git 
a/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/PrefixMethodInvocationUtil.java
 
b/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/PrefixMethodInvocationUtil.java
index 28895a7..5a6e5a1 100644
--- 
a/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/PrefixMethodInvocationUtil.java
+++ 
b/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/PrefixMethodInvocationUtil.java
@@ -146,7 +146,7 @@ public class PrefixMethodInvocationUtil {
             }
             catch (NoSuchMethodException e) {
                 // hmm -- OK, try next prefix
-                LOG.debug("Cannot find method [{}] in action [{}]", 
prefixedMethodName, action.toString());
+                LOG.debug("Cannot find method [{}] in action [{}]", 
prefixedMethodName, action);
             }
         }
                return null;

Reply via email to