shubhamvishu commented on code in PR #13328: URL: https://github.com/apache/lucene/pull/13328#discussion_r1751558206
########## lucene/core/src/java/org/apache/lucene/util/FixedBits.java: ########## @@ -17,15 +17,7 @@ package org.apache.lucene.util; /** Immutable twin of FixedBitSet. */ -final class FixedBits implements Bits { - - final long[] bits; - final int length; - - FixedBits(long[] bits, int length) { - this.bits = bits; - this.length = length; - } +record FixedBits(long[] bits, int length) implements Bits { Review Comment: Sure! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org