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 ef36618 PDFBOX-5660: remove exception that isn't thrown
ef36618 is described below
commit ef36618d34697fa269571e1b368b4979f44d4d23
Author: Tilman Hausherr <[email protected]>
AuthorDate: Sun May 17 20:38:49 2026 +0200
PDFBOX-5660: remove exception that isn't thrown
---
.../java/org/apache/pdfbox/jbig2/decoder/mmr/MMRDecompressorTest.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/src/test/java/org/apache/pdfbox/jbig2/decoder/mmr/MMRDecompressorTest.java
b/src/test/java/org/apache/pdfbox/jbig2/decoder/mmr/MMRDecompressorTest.java
index c289e8c..ef8d2e9 100644
--- a/src/test/java/org/apache/pdfbox/jbig2/decoder/mmr/MMRDecompressorTest.java
+++ b/src/test/java/org/apache/pdfbox/jbig2/decoder/mmr/MMRDecompressorTest.java
@@ -29,7 +29,6 @@ import javax.imageio.stream.ImageInputStream;
import javax.imageio.stream.MemoryCacheImageInputStream;
import org.apache.pdfbox.jbig2.Bitmap;
-import org.apache.pdfbox.jbig2.err.InvalidHeaderValueException;
import org.apache.pdfbox.jbig2.io.SubInputStream;
import org.junit.Test;
@@ -38,7 +37,7 @@ public class MMRDecompressorTest
{
@Test
- public void mmrDecodingTest() throws IOException,
InvalidHeaderValueException
+ public void mmrDecodingTest() throws IOException
{
final byte[] expected = new byte[] { 0, 0, 2, 34, 38, 102, -17, -1, 2,
102, 102, //
-18, -18, -17, -1, -1, 0, 2, 102, 102, 127, //