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
commit dd66fa439c149641301a6a0425eef70a5cc8c2a2 Author: Tilman Hausherr <[email protected]> AuthorDate: Wed May 13 13:49:17 2026 +0200 PDFBOX-5660: remove redundant cast --- .../org/apache/pdfbox/jbig2/segments/PatternDictionaryTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/java/org/apache/pdfbox/jbig2/segments/PatternDictionaryTest.java b/src/test/java/org/apache/pdfbox/jbig2/segments/PatternDictionaryTest.java index 66e0216..461f3a6 100644 --- a/src/test/java/org/apache/pdfbox/jbig2/segments/PatternDictionaryTest.java +++ b/src/test/java/org/apache/pdfbox/jbig2/segments/PatternDictionaryTest.java @@ -85,8 +85,8 @@ public class PatternDictionaryTest int i = 5; // for (int i = 0; i < 8; i++) { - new TestImage(b.get(i).getByteArray(), (int) b.get(i).getWidth(), - (int) b.get(i).getHeight(), b.get(i).getRowStride()); + new TestImage(b.get(i).getByteArray(), b.get(i).getWidth(), + b.get(i).getHeight(), b.get(i).getRowStride()); // } } @@ -112,8 +112,8 @@ public class PatternDictionaryTest int i = 2; // for (int i = 0; i < 8; i++) { - new TestImage(b.get(i).getByteArray(), (int) b.get(i).getWidth(), - (int) b.get(i).getHeight(), b.get(i).getRowStride()); + new TestImage(b.get(i).getByteArray(), b.get(i).getWidth(), + b.get(i).getHeight(), b.get(i).getRowStride()); // } } }
