You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2016/04/11 11:41:14 UTC

lucene-solr:branch_6x: fix silly stack-building test bug in BKD visitor forensics

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_6x 2bf3d70bf -> 4c984af8b


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/4c984af8
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/4c984af8
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/4c984af8

Branch: refs/heads/branch_6x
Commit: 4c984af8b51506597a88a51dff7d3a5dc85a5aa9
Parents: 2bf3d70
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:43:25 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/4c984af8/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");
         }