cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gkossakow...@apache.org
Subject svn commit: r534440 - /cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-components/src/main/java/org/apache/cocoon/servletservice/postable/components/ServletServiceGenerator.java
Date Wed, 02 May 2007 13:00:48 GMT
Author: gkossakowski
Date: Wed May  2 06:00:47 2007
New Revision: 534440

URL: http://svn.apache.org/viewvc?view=rev&rev=534440
Log:
Use logger directly instead of calling getLogger() method.

Modified:
    cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-components/src/main/java/org/apache/cocoon/servletservice/postable/components/ServletServiceGenerator.java

Modified: cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-components/src/main/java/org/apache/cocoon/servletservice/postable/components/ServletServiceGenerator.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-components/src/main/java/org/apache/cocoon/servletservice/postable/components/ServletServiceGenerator.java?view=diff&rev=534440&r1=534439&r2=534440
==============================================================================
--- cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-components/src/main/java/org/apache/cocoon/servletservice/postable/components/ServletServiceGenerator.java
(original)
+++ cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-components/src/main/java/org/apache/cocoon/servletservice/postable/components/ServletServiceGenerator.java
Wed May  2 06:00:47 2007
@@ -86,9 +86,9 @@
             throw SourceUtil.handle("Error during resolving of '" + src + "'.", se);
         }
         
-        if (getLogger().isDebugEnabled()) {
-        	getLogger().debug("Source " + service + " resolved to " + servletSource.getURI());
-            getLogger().debug("Source " + super.source + " resolved to " + inputSource.getURI());
+        if (logger.isDebugEnabled()) {
+        	logger.debug("Source " + service + " resolved to " + servletSource.getURI());
+            logger.debug("Source " + super.source + " resolved to " + inputSource.getURI());
         }
         
         IOUtils.copy(inputSource.getInputStream(), servletSource.getOutputStream());



Mime
View raw message