lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cpoersc...@apache.org
Subject [15/38] lucene-solr:jira/solr-8668: LUCENE-7853: Return the public interface, not the private implementation
Date Fri, 02 Jun 2017 10:56:38 GMT
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/08ea9a78
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/08ea9a78
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/08ea9a78

Branch: refs/heads/jira/solr-8668
Commit: 08ea9a787e624db4440c57b882afcfecddecc86b
Parents: 9769323
Author: Karl Wright <DaddyWri@gmail.com>
Authored: Wed May 31 15:03:44 2017 -0400
Committer: Karl Wright <DaddyWri@gmail.com>
Committed: Wed May 31 15:03:44 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/08ea9a78/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);


Mime
View raw message