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 2022/11/23 07:29:27 UTC

[lucene] branch main updated: Fix the boxing issue again.

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

dweiss 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 30873cfcd9a Fix the boxing issue again.
30873cfcd9a is described below

commit 30873cfcd9a7445c919e9a3b21c5baf37465e100
Author: Dawid Weiss <da...@carrotsearch.com>
AuthorDate: Wed Nov 23 08:29:12 2022 +0100

    Fix the boxing issue again.
---
 .../src/java/org/apache/lucene/spatial3d/geom/GeoStandardPath.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoStandardPath.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoStandardPath.java
index ea069410aa8..1a48441a389 100755
--- a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoStandardPath.java
+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoStandardPath.java
@@ -1900,7 +1900,7 @@ class GeoStandardPath extends GeoBasePath {
       componentStack.add(component);
       depthStack.add(0);
       while (depthStack.size() >= 2) {
-        if (depthStack.get(depthStack.size() - 1) == depthStack.get(depthStack.size() - 2)) {
+        if (depthStack.get(depthStack.size() - 1).equals(depthStack.get(depthStack.size() - 2))) {
           mergeTop();
         } else {
           break;