You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by iv...@apache.org on 2021/12/03 06:24:57 UTC

[lucene] branch branch_9x updated: LUCENE-10279: add entry in CHANGES.txt and make RangeClause final (#507)

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

ivera pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/lucene.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new e2264cd  LUCENE-10279: add entry in CHANGES.txt and make RangeClause final (#507)
e2264cd is described below

commit e2264cd7ef49079b4fc1a213144803f533f7f030
Author: Ignacio Vera <iv...@apache.org>
AuthorDate: Fri Dec 3 07:23:31 2021 +0100

    LUCENE-10279: add entry in CHANGES.txt and make RangeClause final (#507)
---
 lucene/CHANGES.txt                                                     | 3 ++-
 .../src/java/org/apache/lucene/sandbox/search/MultiRangeQuery.java     | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index 2dd659b..8ea77e0 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -56,7 +56,8 @@ Optimizations
 
 Bug Fixes
 ---------------------
-(No changes)
+
+* LUCENE-10279: Fix equals in MultiRangeQuery. (Ignacio Vera)
 
 Other
 ---------------------
diff --git a/lucene/sandbox/src/java/org/apache/lucene/sandbox/search/MultiRangeQuery.java b/lucene/sandbox/src/java/org/apache/lucene/sandbox/search/MultiRangeQuery.java
index 3d36420..a1528b0 100644
--- a/lucene/sandbox/src/java/org/apache/lucene/sandbox/search/MultiRangeQuery.java
+++ b/lucene/sandbox/src/java/org/apache/lucene/sandbox/search/MultiRangeQuery.java
@@ -48,7 +48,7 @@ import org.apache.lucene.util.DocIdSetBuilder;
  */
 public abstract class MultiRangeQuery extends Query {
   /** Representation of a single clause in a MultiRangeQuery */
-  public static class RangeClause {
+  public static final class RangeClause {
     byte[] lowerValue;
     byte[] upperValue;