This is an automated email from the ASF dual-hosted git repository. mattjuntunen 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 f3959b2 removing redundant predicate f3959b2 is described below commit f3959b29713cf90ce15318001b41582928fa8576 Author: Matt Juntunen <mattjuntu...@apache.org> AuthorDate: Sat Jul 24 12:14:56 2021 -0400 removing redundant predicate --- .../commons/geometry/hull/euclidean/twod/AklToussaintHeuristic.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commons-geometry-hull/src/main/java/org/apache/commons/geometry/hull/euclidean/twod/AklToussaintHeuristic.java b/commons-geometry-hull/src/main/java/org/apache/commons/geometry/hull/euclidean/twod/AklToussaintHeuristic.java index 93c5b73..15be662 100644 --- a/commons-geometry-hull/src/main/java/org/apache/commons/geometry/hull/euclidean/twod/AklToussaintHeuristic.java +++ b/commons-geometry-hull/src/main/java/org/apache/commons/geometry/hull/euclidean/twod/AklToussaintHeuristic.java @@ -135,7 +135,7 @@ public final class AklToussaintHeuristic { v1 = v2; v2 = quadrilateralPoints.get((i + 1) == size ? 0 : i + 1); - if (point.equals(v1) || point.equals(v2)) { + if (point.equals(v2)) { return true; }