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
commit bb673507a02c47887a3675b0d129fce8c0a5be3a Author: Gilles Sadowski <[email protected]> AuthorDate: Thu Nov 28 12:01:39 2019 +0100 Use "diamond" operator. Reported by "sonarcloud.io". --- .../apache/commons/geometry/core/partitioning/bsp/AbstractBSPTree.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commons-geometry-core/src/main/java/org/apache/commons/geometry/core/partitioning/bsp/AbstractBSPTree.java b/commons-geometry-core/src/main/java/org/apache/commons/geometry/core/partitioning/bsp/AbstractBSPTree.java index cb63df2..3825353 100644 --- a/commons-geometry-core/src/main/java/org/apache/commons/geometry/core/partitioning/bsp/AbstractBSPTree.java +++ b/commons-geometry-core/src/main/java/org/apache/commons/geometry/core/partitioning/bsp/AbstractBSPTree.java @@ -881,7 +881,7 @@ public abstract class AbstractBSPTree<P extends Point<P>, N extends AbstractBSPT /** {@inheritDoc} */ @Override public Iterator<N> iterator() { - return new NodeIterator<P, N>(getSelf()); + return new NodeIterator<>(getSelf()); } /** {@inheritDoc} */
