You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ms...@apache.org on 2026/03/11 17:31:26 UTC
(lucene) 01/01: Tidy
This is an automated email from the ASF dual-hosted git repository.
msfroh pushed a commit to branch atomic_stringhelper_randomid
in repository https://gitbox.apache.org/repos/asf/lucene.git
commit dc879f11bf24c053a03dd38a431d51225be381b5
Author: Michael Froh <ms...@apache.org>
AuthorDate: Wed Mar 11 10:30:54 2026 -0700
Tidy
---
lucene/core/src/java/org/apache/lucene/util/StringHelper.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/lucene/core/src/java/org/apache/lucene/util/StringHelper.java b/lucene/core/src/java/org/apache/lucene/util/StringHelper.java
index 14923bcca8b..3eee52a8bc9 100644
--- a/lucene/core/src/java/org/apache/lucene/util/StringHelper.java
+++ b/lucene/core/src/java/org/apache/lucene/util/StringHelper.java
@@ -457,7 +457,6 @@ public abstract class StringHelper {
// what impact that has on the period, whereas the simple ++ (mod 2^128)
// we use here is guaranteed to have the full period.
-
BigInteger next = nextId.getAndUpdate(n -> n.add(BigInteger.ONE).and(mask128));
byte[] bits = next.toByteArray();