diff --git a/lucene/core/src/java/org/apache/lucene/analysis/tokenattributes/PackedTokenAttributeImpl.java b/lucene/core/src/java/org/apache/lucene/analysis/tokenattributes/PackedTokenAttributeImpl.java index 449ab3e20b6..d0573972c5c 100644 --- a/lucene/core/src/java/org/apache/lucene/analysis/tokenattributes/PackedTokenAttributeImpl.java +++ b/lucene/core/src/java/org/apache/lucene/analysis/tokenattributes/PackedTokenAttributeImpl.java @@ -201,7 +201,7 @@ public class PackedTokenAttributeImpl extends CharTermAttributeImpl code = code * 31 + positionLength; if (type != null) code = code * 31 + type.hashCode(); - code = code * 31 + termFrequency;; + code = code * 31 + termFrequency; return code; }