Apache Solr open-source search software
SOLR-901 -- FastOutputStream ignores write(byte[]) call
Shalin Shekhar Mangard3f89a21ac7a
diff --git a/CHANGES.txt b/CHANGES.txtindex 15ff50d4f46..0c75570769b 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -162,6 +162,8 @@ Bug Fixes15. SOLR-898: Fix null pointer exception for the JSON response writerbased formats when nl.json=arrarr with null keys. (yonik)+16. SOLR-901: FastOutputStream ignores write(byte[]) call. (Noble Paul via shalin)+Other Changes----------------------diff --git a/src/common/org/apache/solr/common/util/FastOutputStream.java b/src/common/org/apache/solr/common/util/FastOutputStream.javaindex 3f6275c2ee7..f10895ce411 100755--- a/src/common/org/apache/solr/common/util/FastOutputStream.java+++ b/src/common/org/apache/solr/common/util/FastOutputStream.java@@ -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;}-}\ No newline at end of file+}