lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dsmi...@apache.org
Subject [21/50] [abbrv] lucene-solr:solr-5750: Two nested classes made private that should never have been public.
Date Wed, 27 Apr 2016 18:22:05 GMT
Two nested classes made private that should never have been public.


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/69be7dc2
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/69be7dc2
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/69be7dc2

Branch: refs/heads/solr-5750
Commit: 69be7dc2a3ebe9e5170c8d0c5079d863ce73dab6
Parents: 97e8f1a
Author: Karl Wright <DaddyWri@gmail.com>
Authored: Sun Apr 24 02:23:05 2016 -0400
Committer: Karl Wright <DaddyWri@gmail.com>
Committed: Sun Apr 24 02:23:05 2016 -0400

----------------------------------------------------------------------
 .../java/org/apache/lucene/spatial3d/geom/GeoStandardPath.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/69be7dc2/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoStandardPath.java
----------------------------------------------------------------------
diff --git a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoStandardPath.java
b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoStandardPath.java
index 312b79e..b24d5af 100755
--- a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoStandardPath.java
+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoStandardPath.java
@@ -336,7 +336,7 @@ class GeoStandardPath extends GeoBasePath {
    *    we generate no circle at all.  If there is one intersection only, then we generate
a plane that includes that intersection, as well as the remaining
    *    cutoff plane/edge plane points.
    */
-  public static class SegmentEndpoint {
+  private static class SegmentEndpoint {
     /** The center point of the endpoint */
     public final GeoPoint point;
     /** A plane describing the circle */
@@ -580,7 +580,7 @@ class GeoStandardPath extends GeoBasePath {
   /**
    * This is the pre-calculated data for a path segment.
    */
-  public static class PathSegment {
+  private static class PathSegment {
     /** Starting point of the segment */
     public final GeoPoint start;
     /** End point of the segment */


Mime
View raw message