This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git


The following commit(s) were added to refs/heads/master by this push:
     new ed9c1ea3 Remove unused exception in test
ed9c1ea3 is described below

commit ed9c1ea302bb9fe31f2b3b6bb8abe48c7ca8b9e9
Author: Gary Gregory <gardgreg...@gmail.com>
AuthorDate: Mon Sep 19 15:46:15 2022 -0400

    Remove unused exception in test
---
 src/test/java/org/apache/commons/io/function/IOSpliteratorTest.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/src/test/java/org/apache/commons/io/function/IOSpliteratorTest.java 
b/src/test/java/org/apache/commons/io/function/IOSpliteratorTest.java
index 5066427a..e9704884 100644
--- a/src/test/java/org/apache/commons/io/function/IOSpliteratorTest.java
+++ b/src/test/java/org/apache/commons/io/function/IOSpliteratorTest.java
@@ -23,7 +23,6 @@ import static org.junit.jupiter.api.Assertions.assertNull;
 import static org.junit.jupiter.api.Assertions.assertThrows;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
-import java.io.IOException;
 import java.nio.file.Path;
 import java.util.ArrayList;
 import java.util.Arrays;
@@ -93,7 +92,7 @@ public class IOSpliteratorTest {
     }
 
     @Test
-    public void testGetComparator() throws IOException {
+    public void testGetComparator() {
         if (spliterator.hasCharacteristics(Spliterator.SORTED)) {
             assertEquals(spliterator.unwrap().getComparator(), 
spliterator.getComparator());
             assertEquals(spliterator.unwrap().getComparator(), 
spliterator.asSpliterator().getComparator());

Reply via email to