struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From musa...@apache.org
Subject svn commit: r660943 - /struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java
Date Wed, 28 May 2008 13:18:15 GMT
Author: musachy
Date: Wed May 28 06:18:15 2008
New Revision: 660943

URL: http://svn.apache.org/viewvc?rev=660943&view=rev
Log:
Add some logging

Modified:
    struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java

Modified: struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java?rev=660943&r1=660942&r2=660943&view=diff
==============================================================================
--- struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java
(original)
+++ struts/sandbox/trunk/struts2-convention-plugin/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java
Wed May 28 06:18:15 2008
@@ -370,6 +370,9 @@
             if (!params.containsKey(defaultParamName)) {
                 params.put(defaultParamName, info.location);
             }
+        } else if (LOG.isWarnEnabled()){
+            LOG.warn("Result [#0] for action class [#1] is missing the location", info.name,
+                    actionClass.getSimpleName());
         }
 
         return new ResultConfig.Builder(info.name, resultTypeConfig.getClassName()).addParams(params).build();



Mime
View raw message