commit | bb673507a02c47887a3675b0d129fce8c0a5be3a | [log] [tgz] |
---|---|---|
author | Gilles Sadowski <gilles@harfang.homelinux.org> | Thu Nov 28 12:01:39 2019 +0100 |
committer | Gilles Sadowski <gilles@harfang.homelinux.org> | Thu Nov 28 12:01:39 2019 +0100 |
tree | 4081edfe0060eee95b1f0e92ec261401fac75e38 | |
parent | f95363f4abee463123a6c14b706f7efc9aa223e5 [diff] |
Use "diamond" operator. Reported by "sonarcloud.io".
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 @@ /** {@inheritDoc} */ @Override public Iterator<N> iterator() { - return new NodeIterator<P, N>(getSelf()); + return new NodeIterator<>(getSelf()); } /** {@inheritDoc} */