SOLR-1056 -- Fix ending condition for ClobTransformer

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@751993 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2009-03-10 06:26:23 +00:00
parent 15a9d6b543
commit cdbb5216ec
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ public class ClobTransformer extends Transformer {
char[] buf = new char[1024];
int len;
try {
while ((len = reader.read(buf)) != 0) {
while ((len = reader.read(buf)) != -1) {
sb.append(buf, 0, len);
}
} catch (IOException e) {