You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by so...@apache.org on 2026/02/27 14:55:39 UTC
(lucene) branch main updated: Unify the spelling of bytesStart in the code (#15776)
This is an automated email from the ASF dual-hosted git repository.
sokolov pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene.git
The following commit(s) were added to refs/heads/main by this push:
new 66571729659 Unify the spelling of bytesStart in the code (#15776)
66571729659 is described below
commit 665717296595e1a7ca208a1a68cf9bf09dda43cb
Author: tyronecai <ty...@163.com>
AuthorDate: Fri Feb 27 22:55:33 2026 +0800
Unify the spelling of bytesStart in the code (#15776)
---
lucene/core/src/java/org/apache/lucene/util/BytesRefHash.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lucene/core/src/java/org/apache/lucene/util/BytesRefHash.java b/lucene/core/src/java/org/apache/lucene/util/BytesRefHash.java
index 5d93426e8a2..6c13273263c 100644
--- a/lucene/core/src/java/org/apache/lucene/util/BytesRefHash.java
+++ b/lucene/core/src/java/org/apache/lucene/util/BytesRefHash.java
@@ -333,7 +333,7 @@ public final class BytesRefHash implements Accountable {
* ByteBlockPool#BYTE_BLOCK_SIZE}
*/
public int add(BytesRef bytes) {
- assert bytesStart != null : "Bytesstart is null - not initialized";
+ assert bytesStart != null : "bytesStart is null - not initialized";
final int hashcode = doHash(bytes.bytes, bytes.offset, bytes.length);
// final position
final int hashPos = findHash(bytes, hashcode);
@@ -400,7 +400,7 @@ public final class BytesRefHash implements Accountable {
* textStart) in TermsHashPerField.
*/
public int addByPoolOffset(int offset) {
- assert bytesStart != null : "Bytesstart is null - not initialized";
+ assert bytesStart != null : "bytesStart is null - not initialized";
// final position
int code = offset;
int hashPos = offset & hashMask;