cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amir Rosen" <a...@cti2.com>
Subject why call it twice ?
Date Mon, 05 Aug 2002 09:06:46 GMT

from CachingStreamPipeline (both 2.0.3 and 2.04-dev)
getMimeType() is called twice. why ? bug?


    protected boolean processReader(Environment environment)
    throws ProcessingException {

        try
        {
            this.reader.setup(environment,environment.getObjectModel(),readerSource,readerParam);
 ->           String mimeType = this.reader.getMimeType();

 ->           mimeType = this.reader.getMimeType();



Thanks,

Amir Rosen
CTI Squared
amir@cti2.com
+972-9-9605200 (258)
 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message