cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: cvs commit: cocoon-2.1/src/java/org/apache/cocoon/reading ImageReader.java
Date Thu, 24 Jun 2004 10:33:05 GMT
cziegeler@apache.org wrote:

>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
>  
>

Thanks; yes, fix looks fine.

Vadim


>  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);
>           }
>       }
>

Mime
View raw message