This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pdfbox-jbig2.git
The following commit(s) were added to refs/heads/master by this push:
new 26eabb5 PDFBOX-5660: remove exception that isn't thrown
26eabb5 is described below
commit 26eabb56121a3d52d661e36ab1dc944951f17f85
Author: Tilman Hausherr <[email protected]>
AuthorDate: Sun May 17 20:42:08 2026 +0200
PDFBOX-5660: remove exception that isn't thrown
---
src/test/java/org/apache/pdfbox/jbig2/segments/TextRegionTest.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/test/java/org/apache/pdfbox/jbig2/segments/TextRegionTest.java
b/src/test/java/org/apache/pdfbox/jbig2/segments/TextRegionTest.java
index a063645..dd957e3 100644
--- a/src/test/java/org/apache/pdfbox/jbig2/segments/TextRegionTest.java
+++ b/src/test/java/org/apache/pdfbox/jbig2/segments/TextRegionTest.java
@@ -31,7 +31,6 @@ import javax.imageio.stream.MemoryCacheImageInputStream;
import org.apache.pdfbox.jbig2.JBIG2ImageReader;
import org.apache.pdfbox.jbig2.JBIG2ImageReaderSpi;
import org.apache.pdfbox.jbig2.TestImage;
-import org.apache.pdfbox.jbig2.err.InvalidHeaderValueException;
import org.junit.Ignore;
import org.junit.Test;
@@ -43,7 +42,7 @@ public class TextRegionTest
@Ignore
@Test
- public void textRegionWith() throws IOException,
InvalidHeaderValueException
+ public void textRegionWith() throws IOException
{
int pageNumber = 0;