You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/11/16 15:27:47 UTC

(commons-imaging) 01/02: Remove useless cast

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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-imaging.git

commit 24ca917ce9fe9b7f7205eb66641705da684d39ce
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Nov 16 10:27:25 2023 -0500

    Remove useless cast
---
 .../commons/imaging/formats/tiff/datareaders/DataReaderTiled.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/DataReaderTiled.java b/src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/DataReaderTiled.java
index 7378a4a5..c0513522 100644
--- a/src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/DataReaderTiled.java
+++ b/src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/DataReaderTiled.java
@@ -275,7 +275,7 @@ public final class DataReaderTiled extends ImageDataReader {
                           "TIFF file in non-supported configuration: JPEG compression used in planar configuration.");
                     }
                     DataInterpreterJpeg.intepretBlock(directory, workingBuilder,
-                      x, y, tileWidth, (int) tileLength, compressed);
+                      x, y, tileWidth, tileLength, compressed);
                     continue;
                 }