cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stevend...@apache.org
Subject svn commit: r742974 - /cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/controller/ControllerContextHelper.java
Date Tue, 10 Feb 2009 14:13:11 GMT
Author: stevendolg
Date: Tue Feb 10 14:12:59 2009
New Revision: 742974

URL: http://svn.apache.org/viewvc?rev=742974&view=rev
Log:
Amended logging in ControllerContextHelper.

Modified:
    cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/controller/ControllerContextHelper.java

Modified: cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/controller/ControllerContextHelper.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/controller/ControllerContextHelper.java?rev=742974&r1=742973&r2=742974&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/controller/ControllerContextHelper.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/controller/ControllerContextHelper.java
Tue Feb 10 14:12:59 2009
@@ -54,7 +54,9 @@
             return (Map<String, Object>) controllerContext;
         }
 
-        LOG.warn("The parameters contain an entry with the key " + CONTEXT_OBJECT + " but
it is not a map.");
+        if (controllerContext != null) {
+            LOG.warn("The parameters contain an entry with the key " + CONTEXT_OBJECT + "
but it is not a map.");
+        }
         return Collections.EMPTY_MAP;
     }
 



Mime
View raw message