Skip to content
Permalink
Browse files
Simplify exceptions
  • Loading branch information
singhbaljit committed Dec 28, 2020
1 parent afd0429 commit 1b2dc3a63b5d92262aa4678b33935fada3b63ff1
Showing 2 changed files with 2 additions and 3 deletions.
@@ -17,7 +17,6 @@
package org.apache.commons.geometry.euclidean.threed;

import java.io.IOException;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
@@ -977,7 +976,7 @@ public void testLinecastFirst_rayPointOnVertex() {
}

@Test
public void testLinecastFirst_onlyReturnsPointsWithinSegment() throws IOException, ParseException {
public void testLinecastFirst_onlyReturnsPointsWithinSegment() {
// arrange
final Vector3D lowerCorner = Vector3D.ZERO;
final Vector3D upperCorner = Vector3D.of(1, 1, 1);
@@ -325,7 +325,7 @@ public void testToTree_oneSubdivision() throws IOException {
}

@Test
public void testToTree_multipleSubdivisionCounts() throws Exception {
public void testToTree_multipleSubdivisionCounts() {
// -- arrange
final Sphere s = Sphere.from(Vector3D.of(-3, 5, 1), 10, TEST_PRECISION);

0 comments on commit 1b2dc3a

Please sign in to comment.