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/05/31 19:06:06 UTC
lucene-solr:branch_6x: LUCENE-7853: Return the public interface,
not the private implementation
Repository: lucene-solr
Updated Branches:
refs/heads/branch_6x 499291a94 -> 01c7bf1fc
LUCENE-7853: Return the public interface, not the private implementation
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/01c7bf1f
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/01c7bf1f
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/01c7bf1f
Branch: refs/heads/branch_6x
Commit: 01c7bf1fc3b3f13943193af66749c0f733d102e2
Parents: 499291a
Author: Karl Wright <Da...@gmail.com>
Authored: Wed May 31 15:03:44 2017 -0400
Committer: Karl Wright <Da...@gmail.com>
Committed: Wed May 31 15:05:56 2017 -0400
----------------------------------------------------------------------
.../lucene/spatial3d/geom/GeoPolygonFactory.java | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/01c7bf1f/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoPolygonFactory.java
----------------------------------------------------------------------
diff --git a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoPolygonFactory.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoPolygonFactory.java
index 4c1850e..7cabe32 100755
--- a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoPolygonFactory.java
+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoPolygonFactory.java
@@ -56,9 +56,9 @@ public class GeoPolygonFactory {
* that we are dealing with a concave polygon, e.g. the polygon has been serialized.
* If there is not such certainty, please refer to @{@link GeoPolygonFactory#makeGeoPolygon(PlanetModel, List)}.
* @param pointList is a list of the GeoPoints to build an arbitrary polygon out of.
- * @return a GeoConcavePolygon corresponding to what was specified.
+ * @return a GeoPolygon corresponding to what was specified.
*/
- public static GeoConcavePolygon makeGeoConcavePolygon(final PlanetModel planetModel,
+ public static GeoPolygon makeGeoConcavePolygon(final PlanetModel planetModel,
final List<GeoPoint> pointList) {
return new GeoConcavePolygon(planetModel, pointList);
}
@@ -70,9 +70,9 @@ public class GeoPolygonFactory {
* there is certainty that we are dealing with a convex polygon, e.g. the polygon has been serialized.
* If there is not such certainty, please refer to @{@link GeoPolygonFactory#makeGeoPolygon(PlanetModel, List)}.
* @param pointList is a list of the GeoPoints to build an arbitrary polygon out of.
- * @return a GeoConvexPolygon corresponding to what was specified.
+ * @return a GeoPolygon corresponding to what was specified.
*/
- public static GeoConvexPolygon makeGeoConvexPolygon(final PlanetModel planetModel,
+ public static GeoPolygon makeGeoConvexPolygon(final PlanetModel planetModel,
final List<GeoPoint> pointList) {
return new GeoConvexPolygon(planetModel, pointList);
}
@@ -105,9 +105,9 @@ public class GeoPolygonFactory {
* @param pointList is a list of the GeoPoints to build an arbitrary polygon out of.
* @param holes is a list of polygons representing "holes" in the outside polygon. Holes describe the area outside
* each hole as being "in set". Null == none.
- * @return a GeoConcavePolygon corresponding to what was specified.
+ * @return a GeoPolygon corresponding to what was specified.
*/
- public static GeoConcavePolygon makeGeoConcavePolygon(final PlanetModel planetModel,
+ public static GeoPolygon makeGeoConcavePolygon(final PlanetModel planetModel,
final List<GeoPoint> pointList,
final List<GeoPolygon> holes) {
return new GeoConcavePolygon(planetModel,pointList, holes);
@@ -122,9 +122,9 @@ public class GeoPolygonFactory {
* @param pointList is a list of the GeoPoints to build an arbitrary polygon out of.
* @param holes is a list of polygons representing "holes" in the outside polygon. Holes describe the area outside
* each hole as being "in set". Null == none.
- * @return a GeoConvexPolygon corresponding to what was specified.
+ * @return a GeoPolygon corresponding to what was specified.
*/
- public static GeoConvexPolygon makeGeoConvexPolygon(final PlanetModel planetModel,
+ public static GeoPolygon makeGeoConvexPolygon(final PlanetModel planetModel,
final List<GeoPoint> pointList,
final List<GeoPolygon> holes) {
return new GeoConvexPolygon(planetModel,pointList, holes);