You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by th...@apache.org on 2016/04/14 01:21:32 UTC
[16/50] lucene-solr:jira/SOLR-8908: fix silly stack-building test bug
in BKD visitor forensics
fix silly stack-building test bug in BKD visitor forensics
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/38bf7dd8
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/38bf7dd8
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/38bf7dd8
Branch: refs/heads/jira/SOLR-8908
Commit: 38bf7dd8344129c956eb99bad4699687b1aa1635
Parents: 604fb28
Author: Mike McCandless <mi...@apache.org>
Authored: Mon Apr 11 05:42:59 2016 -0400
Committer: Mike McCandless <mi...@apache.org>
Committed: Mon Apr 11 05:42:59 2016 -0400
----------------------------------------------------------------------
.../src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/38bf7dd8/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java
----------------------------------------------------------------------
diff --git a/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java
index 9ec0e30..20302b4 100644
--- a/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java
+++ b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java
@@ -1248,7 +1248,7 @@ public class TestGeo3DPoint extends LuceneTestCase {
if (firstPhase) {
// Pop stack:
- while (stack.size() > 0 && stack.get(stack.size()-1).contains(cell)) {
+ while (stack.size() > 0 && stack.get(stack.size()-1).contains(cell) == false) {
stack.remove(stack.size()-1);
//System.out.println(" pop");
}