You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by dw...@apache.org on 2020/12/17 13:18:53 UTC

[lucene-solr] branch master updated: Correct double semicolon.

This is an automated email from the ASF dual-hosted git repository.

dweiss pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/master by this push:
     new 6af9cbb  Correct double semicolon.
6af9cbb is described below

commit 6af9cbba29ec87b53abd17382862262adaa85144
Author: Dawid Weiss <da...@carrotsearch.com>
AuthorDate: Thu Dec 17 14:18:43 2020 +0100

    Correct double semicolon.
---
 .../lucene/analysis/tokenattributes/PackedTokenAttributeImpl.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 449ab3e..d057397 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;
   }