Skip to content

Apache Lucene open-source search software

SOLR-7971: Mention output stream in javadoc instead of byte buffer

Shalin Shekhar Mangar406ff66329c2
diff --git a/solr/solrj/src/java/org/apache/solr/common/util/ByteUtils.java b/solr/solrj/src/java/org/apache/solr/common/util/ByteUtils.java
index e24f793eb86..f4fc4e680f8 100644
--- a/solr/solrj/src/java/org/apache/solr/common/util/ByteUtils.java
+++ b/solr/solrj/src/java/org/apache/solr/common/util/ByteUtils.java
@@ -129,7 +129,7 @@ public class ByteUtils {
/** Writes UTF8 into the given OutputStream by first writing to the given scratch array
* and then writing the contents of the scratch array to the OutputStream. The given scratch byte array
- * is used to buffer intermediate data before it is written to the byte buffer.
+ * is used to buffer intermediate data before it is written to the output stream.
*
* @return the number of bytes written
*/