You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by kw...@apache.org on 2017/12/10 11:37:56 UTC
[1/2] lucene-solr:master: LUCENE-8088: Fix for random shape generator;
committed on behalf of Ignacio Vera.
Repository: lucene-solr
Updated Branches:
refs/heads/master 3a7f10716 -> ca84ca2f7
LUCENE-8088: Fix for random shape generator; committed on behalf of Ignacio Vera.
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/a948adc3
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/a948adc3
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/a948adc3
Branch: refs/heads/master
Commit: a948adc390ef3ba977aeefc917a55974660d6152
Parents: dcb8470
Author: Karl Wright <Da...@gmail.com>
Authored: Sun Dec 10 06:37:10 2017 -0500
Committer: Karl Wright <Da...@gmail.com>
Committed: Sun Dec 10 06:37:10 2017 -0500
----------------------------------------------------------------------
.../apache/lucene/spatial3d/geom/RandomGeo3dShapeGenerator.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/a948adc3/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/RandomGeo3dShapeGenerator.java
----------------------------------------------------------------------
diff --git a/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/RandomGeo3dShapeGenerator.java b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/RandomGeo3dShapeGenerator.java
index 4ff973a..cf3713c 100644
--- a/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/RandomGeo3dShapeGenerator.java
+++ b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/RandomGeo3dShapeGenerator.java
@@ -755,7 +755,7 @@ public class RandomGeo3dShapeGenerator extends LuceneTestCase {
int vertexCount = random().nextInt(14) + 3;
List<GeoPoint> geoPoints = points(vertexCount,planetModel, constraints);
if (geoPoints.size() < 3){
- continue;
+ break;
}
orderPoints(geoPoints);
polDescription.add(new GeoPolygonFactory.PolygonDescription(geoPoints));
[2/2] lucene-solr:master: Merge branch 'master' of
https://git-wip-us.apache.org/repos/asf/lucene-solr
Posted by kw...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/ca84ca2f
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/ca84ca2f
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/ca84ca2f
Branch: refs/heads/master
Commit: ca84ca2f79b548a1d468981cf3ebb325d1df4ab5
Parents: a948adc 3a7f107
Author: Karl Wright <Da...@gmail.com>
Authored: Sun Dec 10 06:37:43 2017 -0500
Committer: Karl Wright <Da...@gmail.com>
Committed: Sun Dec 10 06:37:43 2017 -0500
----------------------------------------------------------------------
.../apache/lucene/index/TestIndexWriter.java | 27 +++++++++++++++-----
solr/CHANGES.txt | 4 +--
2 files changed, 23 insertions(+), 8 deletions(-)
----------------------------------------------------------------------