You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2025/09/24 13:16:11 UTC
(commons-geometry) 25/34: pmd fix: add annotation
This is an automated email from the ASF dual-hosted git repository.
aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-geometry.git
commit 918e061b3f55d193403baf70b9d1247ac09e3708
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Wed Sep 24 13:09:28 2025 +0100
pmd fix: add annotation
---
.../org/apache/commons/geometry/euclidean/threed/BoundarySource3D.java | 1 +
.../org/apache/commons/geometry/euclidean/twod/BoundarySource2D.java | 1 +
2 files changed, 2 insertions(+)
diff --git a/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/threed/BoundarySource3D.java b/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/threed/BoundarySource3D.java
index 35169b41..d91943a6 100644
--- a/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/threed/BoundarySource3D.java
+++ b/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/threed/BoundarySource3D.java
@@ -32,6 +32,7 @@ import org.apache.commons.numbers.core.Precision;
/** Extension of the {@link BoundarySource} interface for Euclidean 3D space.
*/
+@FunctionalInterface
public interface BoundarySource3D extends BoundarySource<PlaneConvexSubset>, Linecastable3D {
/** Return a {@link BoundaryList3D} containing the boundaries in this instance.
diff --git a/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/twod/BoundarySource2D.java b/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/twod/BoundarySource2D.java
index 1f9da290..91e2c6fc 100644
--- a/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/twod/BoundarySource2D.java
+++ b/commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/twod/BoundarySource2D.java
@@ -25,6 +25,7 @@ import org.apache.commons.geometry.core.partitioning.BoundarySource;
/** Extension of the {@link BoundarySource} interface for Euclidean 2D space.
*/
+@FunctionalInterface
public interface BoundarySource2D extends BoundarySource<LineConvexSubset>, Linecastable2D {
/** Return a {@link BoundaryList2D} containing the boundaries in this instance.