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 a5aa47f PDFBOX-5660: remove exception that isn't thrown
a5aa47f is described below
commit a5aa47faa4ef851a36e2c84a9f788bc0a46ae97e
Author: Tilman Hausherr <[email protected]>
AuthorDate: Fri May 15 12:44:09 2026 +0200
PDFBOX-5660: remove exception that isn't thrown
---
src/main/java/org/apache/pdfbox/jbig2/segments/HalftoneRegion.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/pdfbox/jbig2/segments/HalftoneRegion.java
b/src/main/java/org/apache/pdfbox/jbig2/segments/HalftoneRegion.java
index aff993e..aeb67df 100644
--- a/src/main/java/org/apache/pdfbox/jbig2/segments/HalftoneRegion.java
+++ b/src/main/java/org/apache/pdfbox/jbig2/segments/HalftoneRegion.java
@@ -422,7 +422,7 @@ public class HalftoneRegion implements Region
}
// 6.6.5.1 Computing HSKIP
- private Bitmap computeHSkip(int hPatternWidth, int hPatternHeight) throws
IOException
+ private Bitmap computeHSkip(int hPatternWidth, int hPatternHeight)
{
Bitmap bitmap = new Bitmap(hGridWidth, hGridHeight); // HSKIP is HGW
by HGH pixels
for (int m = 0; m < hGridHeight; ++m)