cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: r586263 - in /cocoon/trunk/core/cocoon-pipeline/cocoon-pipeline-components/src/main: java/org/apache/cocoon/reading/ResourceReader.java resources/META-INF/cocoon/spring/cocoon-core-readers.xml
Date Fri, 19 Oct 2007 04:59:01 GMT
Author: vgritsenko
Date: Thu Oct 18 21:59:00 2007
New Revision: 586263

URL: http://svn.apache.org/viewvc?rev=586263&view=rev
Log:
spring fix

Modified:
    cocoon/trunk/core/cocoon-pipeline/cocoon-pipeline-components/src/main/java/org/apache/cocoon/reading/ResourceReader.java
    cocoon/trunk/core/cocoon-pipeline/cocoon-pipeline-components/src/main/resources/META-INF/cocoon/spring/cocoon-core-readers.xml

Modified: cocoon/trunk/core/cocoon-pipeline/cocoon-pipeline-components/src/main/java/org/apache/cocoon/reading/ResourceReader.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-pipeline/cocoon-pipeline-components/src/main/java/org/apache/cocoon/reading/ResourceReader.java?rev=586263&r1=586262&r2=586263&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-pipeline/cocoon-pipeline-components/src/main/java/org/apache/cocoon/reading/ResourceReader.java
(original)
+++ cocoon/trunk/core/cocoon-pipeline/cocoon-pipeline-components/src/main/java/org/apache/cocoon/reading/ResourceReader.java
Thu Oct 18 21:59:00 2007
@@ -83,7 +83,7 @@
  * to the reader at the time when it is used.
  */
 public class ResourceReader extends AbstractReader
-        implements CacheableProcessingComponent, Configurable {
+                            implements CacheableProcessingComponent, Configurable {
 
     private static final boolean CONFIGURED_BYTE_RANGES_DEFAULT = true;
     private static final int CONFIGURED_BUFFER_SIZE_DEFAULT = 8192;
@@ -178,7 +178,7 @@
      * the length and the last modification date
      */
     public void setup(SourceResolver resolver, Map objectModel, String src, Parameters par)
-            throws ProcessingException, SAXException, IOException {
+    throws ProcessingException, SAXException, IOException {
         super.setup(resolver, objectModel, src, par);
 
         this.request = ObjectModelHelper.getRequest(objectModel);

Modified: cocoon/trunk/core/cocoon-pipeline/cocoon-pipeline-components/src/main/resources/META-INF/cocoon/spring/cocoon-core-readers.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-pipeline/cocoon-pipeline-components/src/main/resources/META-INF/cocoon/spring/cocoon-core-readers.xml?rev=586263&r1=586262&r2=586263&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-pipeline/cocoon-pipeline-components/src/main/resources/META-INF/cocoon/spring/cocoon-core-readers.xml
(original)
+++ cocoon/trunk/core/cocoon-pipeline/cocoon-pipeline-components/src/main/resources/META-INF/cocoon/spring/cocoon-core-readers.xml
Thu Oct 18 21:59:00 2007
@@ -18,31 +18,30 @@
   limitations under the License.
 -->
 
-<!-- @version $Id$ -->
-
-<!--+
-    | Readers circumvent the XML oriented SAX pipeline model, think of a reader
-    | being a generator and a serializer at once thus a pipeline may not
-    | contain any generator, transformer or serializer in addition to a
-    | reader. They are useful for delivering binary content like images.
-    +-->
+<!--
+  - Readers circumvent the XML oriented SAX pipeline model, think of a reader
+  - being a generator and a serializer at once thus a pipeline may not
+  - contain any generator, transformer or serializer in addition to a
+  - reader. They are useful for delivering binary content like images.
+  -
+  - $Id$
+  -->
 <beans>
   <bean name="org.apache.cocoon.reading.Reader/resource"
         class="org.apache.cocoon.reading.ResourceReader"
-        scope="prototype"
-        init-method="init">
-     <!--+
-         | Resource reader has these configuration parameters:
+        scope="prototype">
+     <!--
+       - Resource reader has these configuration parameters:
     <property name="expires" value="-1"/>
     <property name="quickTest" value="false"/>
     <property name="byteRanges" value="true"/>
     <property name="bufferSize" value="8192"/>
-         +-->
+       -->
   </bean>
 
   <bean name="org.apache.cocoon.reading.Reader/image"
         class="org.apache.cocoon.reading.ImageReader"
-        scope="prototype"
-        init-method="init">
+        scope="prototype">
   </bean>
-</beans>
\ No newline at end of file
+</beans>
+        
\ No newline at end of file



Mime
View raw message