Apache Lucene open-source search software
Fix comment on decode method in PForUtil (#12495)
zhouhui2d50c345fea3
diff --git a/lucene/backward-codecs/src/java/org/apache/lucene/backward_codecs/lucene84/PForUtil.java b/lucene/backward-codecs/src/java/org/apache/lucene/backward_codecs/lucene84/PForUtil.javaindex 4e99d3a9f5c..690bfa501f4 100644--- a/lucene/backward-codecs/src/java/org/apache/lucene/backward_codecs/lucene84/PForUtil.java+++ b/lucene/backward-codecs/src/java/org/apache/lucene/backward_codecs/lucene84/PForUtil.java@@ -92,7 +92,7 @@ public final class PForUtil {out.writeBytes(exceptions, exceptions.length);}- /** Decode 128 integers into {@code ints}. */+ /** Decode 128 integers into {@code longs}. */void decode(DataInput in, long[] longs) throws IOException {final int token = Byte.toUnsignedInt(in.readByte());final int bitsPerValue = token & 0x1f;diff --git a/lucene/core/src/java/org/apache/lucene/codecs/lucene90/PForUtil.java b/lucene/core/src/java/org/apache/lucene/codecs/lucene90/PForUtil.javaindex eb735c84b83..211912142a4 100644--- a/lucene/core/src/java/org/apache/lucene/codecs/lucene90/PForUtil.java+++ b/lucene/core/src/java/org/apache/lucene/codecs/lucene90/PForUtil.java@@ -116,7 +116,7 @@ final class PForUtil {out.writeBytes(exceptions, exceptions.length);}- /** Decode 128 integers into {@code ints}. */+ /** Decode 128 integers into {@code longs}. */void decode(DataInput in, long[] longs) throws IOException {final int token = Byte.toUnsignedInt(in.readByte());final int bitsPerValue = token & 0x1f;