You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by Nick Burch <ni...@alfresco.com> on 2010/09/10 21:29:20 UTC

Re: svn commit: r995880 - /tika/trunk/tika-core/src/main/java/org/apache/tika/parser/AutoDetectParse r.java

On Fri, 10 Sep 2010, Jukka Zitting wrote:
> Nice, good point! Even better, I'd simplify this to:
>
>    // Ensure reliable mark support for type detection before parsing
>    stream = TikaInputStream.get(stream);

That would mean that BufferedInputStreams will end up double wrapped 
though? I'm tempted to say that for the non buffered input stream case, we 
wrap in a TikaInputStream instead of the current BufferedInputStream 
though.

Nick