Skip to content

Commit dd7cf64

Browse files
committed
Fix the count variable
1 parent fe33813 commit dd7cf64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lucene/core/src/java/org/apache/lucene/util/fst/NodeHash.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ public void set(long index, long pointer, byte[] bytes) {
259259
entries.set(index, pointer);
260260
copiedNodes.add(bytes);
261261
copiedOffsets.put(pointer, copiedNodes.size() - 1);
262-
count += 2;
262+
count++;
263263
}
264264

265265
private void rehash(long lastNodeAddress) throws IOException {

0 commit comments

Comments
 (0)