lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jim...@apache.org
Subject lucene-solr:branch_7x: LUCENE-8346: Remove final modifier on QueryBuilder#createSpanQuery to allow override
Date Wed, 06 Jun 2018 07:19:22 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/branch_7x 45dda7432 -> 754483b51


LUCENE-8346: Remove final modifier on QueryBuilder#createSpanQuery to allow override


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/754483b5
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/754483b5
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/754483b5

Branch: refs/heads/branch_7x
Commit: 754483b5137fd85e5b4068fbfbbbf078fe4bd733
Parents: 45dda74
Author: Jim Ferenczi <jimczi@apache.org>
Authored: Wed Jun 6 09:18:25 2018 +0200
Committer: Jim Ferenczi <jimczi@apache.org>
Committed: Wed Jun 6 09:19:12 2018 +0200

----------------------------------------------------------------------
 lucene/core/src/java/org/apache/lucene/util/QueryBuilder.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/754483b5/lucene/core/src/java/org/apache/lucene/util/QueryBuilder.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/java/org/apache/lucene/util/QueryBuilder.java b/lucene/core/src/java/org/apache/lucene/util/QueryBuilder.java
index 2cb066b..697e3bb 100644
--- a/lucene/core/src/java/org/apache/lucene/util/QueryBuilder.java
+++ b/lucene/core/src/java/org/apache/lucene/util/QueryBuilder.java
@@ -346,9 +346,9 @@ public class QueryBuilder {
 
   /**
    * Creates a span query from the tokenstream.  In the case of a single token, a simple
<code>SpanTermQuery</code> is
-   * returned.  When multiple tokens, an ordered <code>SpanNearQuery</code> with
slop of 0 is returned.
+   * returned.  When multiple tokens, an ordered <code>SpanNearQuery</code> with
slop 0 is returned.
    */
-  protected final SpanQuery createSpanQuery(TokenStream in, String field) throws IOException
{
+  protected SpanQuery createSpanQuery(TokenStream in, String field) throws IOException {
     TermToBytesRefAttribute termAtt = in.getAttribute(TermToBytesRefAttribute.class);
     if (termAtt == null) {
       return null;


Mime
View raw message