struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grobme...@apache.org
Subject svn commit: r1461544 - /struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java
Date Wed, 27 Mar 2013 12:05:53 GMT
Author: grobmeier
Date: Wed Mar 27 12:05:52 2013
New Revision: 1461544

URL: http://svn.apache.org/r1461544
Log:
WW-4029: do not print stacktraces when an optional class could not be loaded

Modified:
    struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java

Modified: struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java?rev=1461544&r1=1461543&r2=1461544&view=diff
==============================================================================
--- struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java
(original)
+++ struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java
Wed Mar 27 12:05:52 2013
@@ -245,7 +245,7 @@ public class XmlConfigurationProvider im
                                 throw new ConfigurationException("Unable to load bean: type:"
+ type + " class:" + impl, ex, childNode);
                             } else {
                                 if (LOG.isDebugEnabled()) {
-                                    LOG.debug("Unable to load optional class: #0", ex, impl);
+                                    LOG.debug("Unable to load optional class: #0", impl);
                                 }
                             }
                         }



Mime
View raw message