You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by Fernando Padilla <fe...@interdimensions.com> on 2002/07/22 23:56:44 UTC

[PATCH] FullTextIndexer, URIMapper


I decided to run the compile with deprecation messages turned on.

URIMapper was using StringBufferInputStream, which has been deprecated 
since JDK 1.1.  It got replaced with a simple String.getBytes wrapped in a 
ByteArrayInputStream.  It also now returns the InputStream, in "utf-8" 
encoding.

FullTextIndexer was using DataInputStream.readLine, which has been 
deprecated since JDK 1.1.  It got replaced simply with an 
InputStreamReader ( using platform default encoding, not utf8 ), wrapped 
in a BufferedReader.

Please, have a look and commit.

Fernando