mirror of https://github.com/apache/lucene.git
Fix comment on decode method in PForUtil (#12495)
* Fix comment on decode method. * Fix comment on decode method(lucene84).
This commit is contained in:
parent
30db217048
commit
2d50c345fe
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue