You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2020/11/05 13:23:24 UTC

[commons-geometry] branch master updated: Lower visibility level.

This is an automated email from the ASF dual-hosted git repository.

erans pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-geometry.git


The following commit(s) were added to refs/heads/master by this push:
     new 2454906  Lower visibility level.
2454906 is described below

commit 24549060f14521f322faa507fc157abd32061bc7
Author: Gilles Sadowski <gi...@gmail.com>
AuthorDate: Thu Nov 5 14:21:59 2020 +0100

    Lower visibility level.
---
 .../apache/commons/geometry/core/internal/IteratorTransform.java    | 2 +-
 .../commons/geometry/core/partitioning/bsp/BSPTreeVisitor.java      | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/commons-geometry-core/src/main/java/org/apache/commons/geometry/core/internal/IteratorTransform.java b/commons-geometry-core/src/main/java/org/apache/commons/geometry/core/internal/IteratorTransform.java
index b60d40d..c3d60df 100644
--- a/commons-geometry-core/src/main/java/org/apache/commons/geometry/core/internal/IteratorTransform.java
+++ b/commons-geometry-core/src/main/java/org/apache/commons/geometry/core/internal/IteratorTransform.java
@@ -38,7 +38,7 @@ public abstract class IteratorTransform<I, T> implements Iterator<T> {
     /** Create a new instance that uses the given iterator as the input source.
      * @param inputIterator iterator supplying input values
      */
-    public IteratorTransform(final Iterator<I> inputIterator) {
+    protected IteratorTransform(final Iterator<I> inputIterator) {
         this.inputIterator = inputIterator;
     }
 
diff --git a/commons-geometry-core/src/main/java/org/apache/commons/geometry/core/partitioning/bsp/BSPTreeVisitor.java b/commons-geometry-core/src/main/java/org/apache/commons/geometry/core/partitioning/bsp/BSPTreeVisitor.java
index 8806205..7df94e3 100644
--- a/commons-geometry-core/src/main/java/org/apache/commons/geometry/core/partitioning/bsp/BSPTreeVisitor.java
+++ b/commons-geometry-core/src/main/java/org/apache/commons/geometry/core/partitioning/bsp/BSPTreeVisitor.java
@@ -110,7 +110,7 @@ public interface BSPTreeVisitor<P extends Point<P>, N extends BSPTree.Node<P, N>
         /** Simple constructor.
          * @param target the point serving as the target for the tree traversal
          */
-        public TargetPointVisitor(final P target) {
+        protected TargetPointVisitor(final P target) {
             this.target = target;
         }
 
@@ -135,7 +135,7 @@ public interface BSPTreeVisitor<P extends Point<P>, N extends BSPTree.Node<P, N>
         /** Simple constructor.
          * @param target the point serving as the target for the traversal
          */
-        public ClosestFirstVisitor(final P target) {
+        protected ClosestFirstVisitor(final P target) {
             super(target);
         }
 
@@ -162,7 +162,7 @@ public interface BSPTreeVisitor<P extends Point<P>, N extends BSPTree.Node<P, N>
         /** Simple constructor.
          * @param target the point serving as the target for the traversal
          */
-        public FarthestFirstVisitor(final P target) {
+        protected FarthestFirstVisitor(final P target) {
             super(target);
         }