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 ce359dbcb0ece66716d272f8483dbfcf37e4dd2d Author: Alex Herbert <aherb...@apache.org> AuthorDate: Fri Apr 25 13:05:28 2025 +0100 sonar fix: remove unthrown exception from test method signature --- .../commons/geometry/euclidean/threed/shape/SphereTest.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/commons-geometry-euclidean/src/test/java/org/apache/commons/geometry/euclidean/threed/shape/SphereTest.java b/commons-geometry-euclidean/src/test/java/org/apache/commons/geometry/euclidean/threed/shape/SphereTest.java index e1e5381c..1592b87a 100644 --- a/commons-geometry-euclidean/src/test/java/org/apache/commons/geometry/euclidean/threed/shape/SphereTest.java +++ b/commons-geometry-euclidean/src/test/java/org/apache/commons/geometry/euclidean/threed/shape/SphereTest.java @@ -16,12 +16,10 @@ */ package org.apache.commons.geometry.euclidean.threed.shape; -import java.io.IOException; import java.util.List; import java.util.function.DoubleSupplier; import java.util.regex.Pattern; import java.util.stream.Collectors; - import org.apache.commons.geometry.core.GeometryTestUtils; import org.apache.commons.geometry.core.RegionLocation; import org.apache.commons.geometry.euclidean.EuclideanTestUtils; @@ -281,7 +279,7 @@ class SphereTest { } @Test - void testToTree_zeroSubdivisions() throws IOException { + void testToTree_zeroSubdivisions() { // arrange final double r = 2; final Sphere s = Sphere.from(Vector3D.of(2, 1, 3), r, TEST_PRECISION); @@ -303,7 +301,7 @@ class SphereTest { } @Test - void testToTree_oneSubdivision() throws IOException { + void testToTree_oneSubdivision() { // arrange final double r = 2; final Sphere s = Sphere.from(Vector3D.of(2, 1, 3), r, TEST_PRECISION); @@ -393,7 +391,7 @@ class SphereTest { } @Test - void testToTree_closeApproximation() throws IOException { + void testToTree_closeApproximation() { // arrange final Sphere s = Sphere.from(Vector3D.ZERO, 1, TEST_PRECISION);