cziegeler    2004/06/23 23:28:00

  Modified:    src/java/org/apache/cocoon/reading ImageReader.java
  Log:
  Making this class compile again - don't know if this is the correct fix, 
please cross-check
  
  Revision  Changes    Path
  1.11      +4 -3      
cocoon-2.1/src/java/org/apache/cocoon/reading/ImageReader.java
  
  Index: ImageReader.java
  ===================================================================
  RCS file: 
/home/cvs/cocoon-2.1/src/java/org/apache/cocoon/reading/ImageReader.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ImageReader.java  28 Mar 2004 20:51:24 -0000      1.10
  +++ ImageReader.java  24 Jun 2004 06:28:00 -0000      1.11
  @@ -24,6 +24,7 @@
   import java.awt.image.WritableRaster;
   import java.io.ByteArrayOutputStream;
   import java.io.IOException;
  +import java.io.InputStream;
   import java.io.Serializable;
   import java.util.Map;
   
  @@ -185,7 +186,7 @@
           return new AffineTransform(wm, 0.0d, 0.0d, hm, 0.0d, 0.0d);
       }
   
  -    protected void processStream() throws IOException, ProcessingException {
  +    protected void processStream(InputStream inputStream) throws 
IOException, ProcessingException {
           if (width > 0 || height > 0 || null != colorFilter || null != 
grayscaleFilter) {
               if (getLogger().isDebugEnabled()) {
                   getLogger().debug("image " + ((width == 0) ? "?" : 
Integer.toString(width))
  @@ -274,7 +275,7 @@
               if (getLogger().isDebugEnabled()) {
                   getLogger().debug("passing original resource");
               }
  -            super.processStream();
  +            super.processStream(inputStream);
           }
       }
   
  
  
  

Reply via email to