cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gkossakow...@apache.org
Subject svn commit: r636421 - /cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/spring/ServletFactoryBean.java
Date Wed, 12 Mar 2008 17:07:37 GMT
Author: gkossakowski
Date: Wed Mar 12 10:07:33 2008
New Revision: 636421

URL: http://svn.apache.org/viewvc?rev=636421&view=rev
Log:
Remove debugging code.

Modified:
    cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/spring/ServletFactoryBean.java

Modified: cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/spring/ServletFactoryBean.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/spring/ServletFactoryBean.java?rev=636421&r1=636420&r2=636421&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/spring/ServletFactoryBean.java
(original)
+++ cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/spring/ServletFactoryBean.java
Wed Mar 12 10:07:33 2008
@@ -101,8 +101,6 @@
         // hack for getting a file protocol or other protocols that can be used as context
         // path in the getResource method in the servlet context
         if(contextPath != null) {
-            int tmp = contextPath.indexOf(':');
-            boolean tmp2 = !(contextPath.startsWith("file:") || contextPath.startsWith("/")
|| contextPath.indexOf(':') == -1);
             if (!(contextPath.startsWith("file:") || contextPath.startsWith("/") || contextPath.indexOf(':')
== -1)) {
                 SourceResolver resolver = null;
                 Source source = null;



Mime
View raw message