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

etudenhoefner pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/main by this push:
     new f17c225f67 Core: Remove unused throws declarations (#10974)
f17c225f67 is described below

commit f17c225f6709b430019512f426dafcc323c9b46b
Author: Piotr Findeisen <[email protected]>
AuthorDate: Wed Aug 21 10:09:23 2024 +0200

    Core: Remove unused throws declarations (#10974)
---
 .../java/org/apache/iceberg/util/TestParallelIterable.java     | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git 
a/core/src/test/java/org/apache/iceberg/util/TestParallelIterable.java 
b/core/src/test/java/org/apache/iceberg/util/TestParallelIterable.java
index c259bbd0a7..ee16f3c1fb 100644
--- a/core/src/test/java/org/apache/iceberg/util/TestParallelIterable.java
+++ b/core/src/test/java/org/apache/iceberg/util/TestParallelIterable.java
@@ -20,7 +20,6 @@ package org.apache.iceberg.util;
 
 import static org.assertj.core.api.Assertions.assertThat;
 
-import java.io.IOException;
 import java.util.Collections;
 import java.util.Iterator;
 import java.util.List;
@@ -43,8 +42,7 @@ import org.junit.jupiter.api.Test;
 
 public class TestParallelIterable {
   @Test
-  public void closeParallelIteratorWithoutCompleteIteration()
-      throws IOException, IllegalAccessException, NoSuchFieldException {
+  public void closeParallelIteratorWithoutCompleteIteration() {
     ExecutorService executor = Executors.newFixedThreadPool(1);
 
     Iterable<CloseableIterable<Integer>> transform =
@@ -76,8 +74,7 @@ public class TestParallelIterable {
   }
 
   @Test
-  public void closeMoreDataParallelIteratorWithoutCompleteIteration()
-      throws IOException, IllegalAccessException, NoSuchFieldException {
+  public void closeMoreDataParallelIteratorWithoutCompleteIteration() {
     ExecutorService executor = Executors.newFixedThreadPool(1);
     Iterator<Integer> integerIterator =
         new Iterator<Integer>() {
@@ -137,8 +134,7 @@ public class TestParallelIterable {
   }
 
   @Test
-  public void limitQueueSize() throws IOException, IllegalAccessException, 
NoSuchFieldException {
-
+  public void limitQueueSize() {
     List<Iterable<Integer>> iterables =
         ImmutableList.of(
             () -> IntStream.range(0, 100).iterator(),

Reply via email to