tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkoli...@apache.org
Subject svn commit: r1600616 - /tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/StandardContext.java
Date Thu, 05 Jun 2014 11:52:22 GMT
Author: kkolinko
Date: Thu Jun  5 11:52:22 2014
New Revision: 1600616

URL: http://svn.apache.org/r1600616
Log:
https://issues.apache.org/bugzilla/show_bug.cgi?id=55282
Fix message that is displayed when a duplicate listener is added.

Modified:
    tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/StandardContext.java

Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/StandardContext.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/StandardContext.java?rev=1600616&r1=1600615&r2=1600616&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/StandardContext.java (original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/StandardContext.java Thu Jun  5 11:52:22
2014
@@ -2865,8 +2865,8 @@ public class StandardContext extends Con
                     new ApplicationListener[applicationListeners.length + 1];
             for (int i = 0; i < applicationListeners.length; i++) {
                 if (listener.equals(applicationListeners[i])) {
-                    log.info(sm.getString(
-                            "standardContext.duplicateListener",listener));
+                    log.info(sm.getString("standardContext.duplicateListener",
+                            listener.getClassName()));
                     return;
                 }
                 results[i] = applicationListeners[i];



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message