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 2024/09/12 12:59:37 UTC
(commons-imaging) 14/22: Remove redundant keyword
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 32a3b240f23ad1c5885e145e4b1d781d1839c665
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Sep 12 08:58:24 2024 -0400
Remove redundant keyword
---
.../java/org/apache/commons/imaging/formats/psd/PsdImageParser.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/imaging/formats/psd/PsdImageParser.java b/src/main/java/org/apache/commons/imaging/formats/psd/PsdImageParser.java
index 58adc6a6..44cf5db1 100644
--- a/src/main/java/org/apache/commons/imaging/formats/psd/PsdImageParser.java
+++ b/src/main/java/org/apache/commons/imaging/formats/psd/PsdImageParser.java
@@ -574,7 +574,7 @@ public class PsdImageParser extends AbstractImageParser<PsdImagingParameters> im
private List<ImageResourceBlock> readImageResourceBlocks(final ByteSource byteSource, final int[] imageResourceIDs, final int maxBlocksToRead)
throws ImagingException, IOException {
try (InputStream imageStream = byteSource.getInputStream();
- InputStream resourceStream = this.getInputStream(byteSource, PSD_SECTION_IMAGE_RESOURCES)) {
+ InputStream resourceStream = getInputStream(byteSource, PSD_SECTION_IMAGE_RESOURCES)) {
final PsdImageContents imageContents = readImageContents(imageStream);