Skip to content

Commit

Permalink
fix s/Long/Fixed in FixedBitSet javadocs (#13290)
Browse files Browse the repository at this point in the history
(cherry picked from commit f44ded0)
  • Loading branch information
cpoerschke committed Apr 11, 2024
1 parent 7ef18f2 commit 2205401
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lucene/core/src/java/org/apache/lucene/util/FixedBitSet.java
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public static long andNotCount(FixedBitSet a, FixedBitSet b) {
}

/**
* Creates a new LongBitSet. The internally allocated long array will be exactly the size needed
* Creates a new FixedBitSet. The internally allocated long array will be exactly the size needed
* to accommodate the numBits specified.
*
* @param numBits the number of bits needed
Expand All @@ -128,7 +128,7 @@ public FixedBitSet(int numBits) {
}

/**
* Creates a new LongBitSet using the provided long[] array as backing store. The storedBits array
* Creates a new FixedBitSet using the provided long[] array as backing store. The storedBits array
* must be large enough to accommodate the numBits specified, but may be larger. In that case the
* 'extra' or 'ghost' bits must be clear (or they may provoke spurious side-effects)
*
Expand Down

0 comments on commit 2205401

Please sign in to comment.