You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2023/09/04 01:04:13 UTC
[commons-geometry] 12/25: GEOMETRY-144
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
commit 3ce548d478c422413be8930df6598809fb140c31
Author: Andreas Goß <an...@gmail.com>
AuthorDate: Thu Jul 20 22:16:38 2023 +0200
GEOMETRY-144
Add whitespace after if.
---
.../org/apache/commons/geometry/euclidean/twod/hull/ConvexHull2D.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/twod/hull/ConvexHull2D.java b/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/twod/hull/ConvexHull2D.java
index 565f68fb..a4a0787f 100644
--- a/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/twod/hull/ConvexHull2D.java
+++ b/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/twod/hull/ConvexHull2D.java
@@ -252,7 +252,7 @@ public final class ConvexHull2D implements ConvexHull<Vector2D> {
* @param point a given point.
*/
private void checkCorners(Vector2D point) {
- if(minX == null) {
+ if (minX == null) {
minX = minY = maxX = maxY = point;
candidates.add(point);
return;