Author: lukaszlenart
Date: Wed Jan 16 08:34:41 2013
New Revision: 1433853

URL: http://svn.apache.org/viewvc?rev=1433853&view=rev
Log:
Adds better logging message to indicate where is the problem, which result type 
is missing DEFAULT_PARAM field

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=1433853&r1=1433852&r2=1433853&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 Jan 16 08:34:41 2013
@@ -570,7 +570,7 @@ public class XmlConfigurationProvider im
                 }
                 catch (Throwable t) {
                     if (LOG.isDebugEnabled()) {
-                        LOG.debug("The result type doesn't have a default 
param defined", t);
+                        LOG.debug("The result type #0 doesn't have a default 
param [DEFAULT_PARAM] defined", t, className);
                     }
                 }
                 ResultTypeConfig.Builder resultType = new 
ResultTypeConfig.Builder(name, className).defaultResultParam(paramName)


Reply via email to