cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: why call it twice ?
Date Mon, 05 Aug 2002 11:24:10 GMT
Hi,

thanks for spotting and reporting this.
It's a "performance bug", I just corrected it.

Carsten

> -----Original Message-----
> From: Amir Rosen [mailto:amir@cti2.com]
> Sent: Monday, August 05, 2002 11:07 AM
> To: cocoon-dev@xml.apache.org
> Subject: why call it twice ?
> 
> 
> 
> 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(),readerS
> ource,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
> 

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


Mime
View raw message