SOLR-901 -- FastOutputStream ignores write(byte[]) call

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@724285 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2008-12-08 08:30:35 +00:00
parent c37b2a0e78
commit d3f89a21ac
2 changed files with 4 additions and 1 deletions

View File

@ -162,6 +162,8 @@ Bug Fixes
15. SOLR-898: Fix null pointer exception for the JSON response writer
based formats when nl.json=arrarr with null keys. (yonik)
16. SOLR-901: FastOutputStream ignores write(byte[]) call. (Noble Paul via shalin)
Other Changes
----------------------

View File

@ -51,6 +51,7 @@ public class FastOutputStream extends OutputStream implements DataOutput {
}
public void write(byte b[]) throws IOException {
write(b,0,b.length);
}
public void write(byte b) throws IOException {
@ -185,4 +186,4 @@ public class FastOutputStream extends OutputStream implements DataOutput {
public long size() {
return written + pos;
}
}
}