cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: r577466 - /cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-components/src/main/java/org/apache/cocoon/servletservice/components/ServletSource.java
Date Wed, 19 Sep 2007 23:31:55 GMT
Author: vgritsenko
Date: Wed Sep 19 16:31:50 2007
New Revision: 577466

URL: http://svn.apache.org/viewvc?rev=577466&view=rev
Log:
whitespace

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

Modified: cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-components/src/main/java/org/apache/cocoon/servletservice/components/ServletSource.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-components/src/main/java/org/apache/cocoon/servletservice/components/ServletSource.java?rev=577466&r1=577465&r2=577466&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-components/src/main/java/org/apache/cocoon/servletservice/components/ServletSource.java
(original)
+++ cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-components/src/main/java/org/apache/cocoon/servletservice/components/ServletSource.java
Wed Sep 19 16:31:50 2007
@@ -39,7 +39,8 @@
  *
  * @version $Id$
  */
-public class ServletSource extends AbstractSource implements PostableSource {
+public class ServletSource extends AbstractSource
+                           implements PostableSource {
 
     private transient Log logger = LogFactory.getLog(getClass());
 
@@ -59,6 +60,7 @@
 
     private boolean connected;
 
+
     public ServletSource(String location, Store store) throws IOException {
         // the systemId (returned by getURI()) is by default null
         // using the block uri is a little bit questionable as it only is valid
@@ -221,20 +223,16 @@
             setResponseCode(responseCode);
         }
 
-        /*
-           * (non-Javadoc)
-           *
-           * @see org.apache.excalibur.source.SourceValidity#isValid()
-           */
+        /* (non-Javadoc)
+         * @see SourceValidity#isValid()
+         */
         public int isValid() {
-            return 0;
+            return SourceValidity.UNKNOWN;
         }
 
-        /*
-           * (non-Javadoc)
-           *
-           * @see org.apache.excalibur.source.SourceValidity#isValid(org.apache.excalibur.source.SourceValidity)
-           */
+        /* (non-Javadoc)
+         * @see SourceValidity#isValid(SourceValidity)
+         */
         public int isValid(SourceValidity newValidity) {
             if (newValidity instanceof ServletValidity) {
                 ServletValidity newServletValidity = (ServletValidity) newValidity;
@@ -250,6 +248,7 @@
                         return SourceValidity.UNKNOWN;
                 }
             }
+
             return SourceValidity.UNKNOWN;
         }
 



Mime
View raw message