mirror of https://github.com/apache/lucene.git
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:
parent
c37b2a0e78
commit
d3f89a21ac
|
@ -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
|
||||
----------------------
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue