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

Reply via email to