Skip to content

Apache Lucene open-source search software

javadoc fix

Yonik Seeley09114186ba1c
diff --git a/src/java/org/apache/lucene/util/OpenBitSet.java b/src/java/org/apache/lucene/util/OpenBitSet.java
index cef76f3cf0f..b3a3af4937a 100644
--- a/src/java/org/apache/lucene/util/OpenBitSet.java
+++ b/src/java/org/apache/lucene/util/OpenBitSet.java
@@ -172,7 +172,6 @@ public class OpenBitSet extends DocIdSet implements Cloneable, Serializable {
/** Returns true or false for the specified bit index
- * The index should be less than the OpenBitSet size
*/
public boolean get(long index) {
int i = (int)(index >> 6); // div 64
@@ -182,8 +181,9 @@ public class OpenBitSet extends DocIdSet implements Cloneable, Serializable {
return (bits[i] & bitmask) != 0;
}
- /** Returns true or false for the specified bit index. Allows specifying
- * an index outside the current size. */
+ /** Returns true or false for the specified bit index.
+ * The index should be less than the OpenBitSet size.
+ */
public boolean fastGet(long index) {
int i = (int)(index >> 6); // div 64
int bit = (int)index & 0x3f; // mod 64