cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/pipeline CachingStreamPipeline.java
Date Mon, 05 Aug 2002 11:20:41 GMT
cziegeler    2002/08/05 04:20:41

  Modified:    src/java/org/apache/cocoon/components/pipeline Tag:
                        cocoon_2_0_3_branch CachingStreamPipeline.java
  Log:
  Optimizing processing of reader
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.8.2.1   +2 -6      xml-cocoon2/src/java/org/apache/cocoon/components/pipeline/Attic/CachingStreamPipeline.java
  
  Index: CachingStreamPipeline.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/pipeline/Attic/CachingStreamPipeline.java,v
  retrieving revision 1.8
  retrieving revision 1.8.2.1
  diff -u -r1.8 -r1.8.2.1
  --- CachingStreamPipeline.java	13 Mar 2002 11:03:37 -0000	1.8
  +++ CachingStreamPipeline.java	5 Aug 2002 11:20:41 -0000	1.8.2.1
  @@ -129,13 +129,9 @@
        */
       protected boolean processReader(Environment environment)
       throws ProcessingException {
  -
  -        try
  -        {
  +        try {
               this.reader.setup(environment,environment.getObjectModel(),readerSource,readerParam);
               String mimeType = this.reader.getMimeType();
  -
  -            mimeType = this.reader.getMimeType();
               if ( mimeType != null ) {
                   environment.setContentType(mimeType);
               } else if ( readerMimeType != null ) {
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message