You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2022/11/20 04:11:58 UTC
[lucene] branch main updated: fixed boxed equality check to unbreak the build: has this code been tested????
This is an automated email from the ASF dual-hosted git repository.
rmuir 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 8fdac2d88e9 fixed boxed equality check to unbreak the build: has this code been tested????
8fdac2d88e9 is described below
commit 8fdac2d88e93f18b4e2211329d4c62c125e94eea
Author: Robert Muir <rm...@apache.org>
AuthorDate: Sat Nov 19 23:11:30 2022 -0500
fixed boxed equality check to unbreak the build: has this code been tested????
---
.../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 f975ecac4e2..0bbd23f005f 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
@@ -1739,7 +1739,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;