struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From musa...@apache.org
Subject svn commit: r731023 - /struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java
Date Sat, 03 Jan 2009 16:58:42 GMT
Author: musachy
Date: Sat Jan  3 08:58:42 2009
New Revision: 731023

URL: http://svn.apache.org/viewvc?rev=731023&view=rev
Log:
Remove annoying warning

Modified:
    struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java

Modified: struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java?rev=731023&r1=731022&r2=731023&view=diff
==============================================================================
--- struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java
(original)
+++ struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/DefaultResultMapBuilder.java
Sat Jan  3 08:58:42 2009
@@ -398,9 +398,6 @@
             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