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

bchapuis pushed a commit to branch sonar
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git


The following commit(s) were added to refs/heads/sonar by this push:
     new e5d82188 Remove exceptions
e5d82188 is described below

commit e5d82188416f37bfbdf8d481c445f4871bd917fe
Author: Bertil Chapuis <[email protected]>
AuthorDate: Thu Jun 13 01:30:11 2024 +0200

    Remove exceptions
---
 .../apache/baremaps/openstreetmap/stream/BatchedSpliteratorTest.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/baremaps-openstreetmap/src/test/java/org/apache/baremaps/openstreetmap/stream/BatchedSpliteratorTest.java
 
b/baremaps-openstreetmap/src/test/java/org/apache/baremaps/openstreetmap/stream/BatchedSpliteratorTest.java
index 351a0c8b..f09d051e 100644
--- 
a/baremaps-openstreetmap/src/test/java/org/apache/baremaps/openstreetmap/stream/BatchedSpliteratorTest.java
+++ 
b/baremaps-openstreetmap/src/test/java/org/apache/baremaps/openstreetmap/stream/BatchedSpliteratorTest.java
@@ -60,7 +60,7 @@ class BatchedSpliteratorTest {
   }
 
   @Test
-  void tryAdvance() throws Exception {
+  void tryAdvance() {
     for (int i = 0; i < spliteratorSize; i++) {
       assertTrue(spliterator.tryAdvance(block -> {
       }));
@@ -70,7 +70,7 @@ class BatchedSpliteratorTest {
   }
 
   @Test
-  void forEachRemaining() throws Exception {
+  void forEachRemaining() {
     AccumulatingConsumer<Integer> accumulator = new AccumulatingConsumer<>();
     spliterator.forEachRemaining(accumulator);
     assertEquals(accumulator.values().size(), spliteratorSize);

Reply via email to