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 2444663968afb4c235746176d5b369a96533c882 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri Jun 2 09:53:19 2023 -0400 Better internal class name --- .../org/apache/commons/imaging/bytesource/ByteSourceInputStream.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/imaging/bytesource/ByteSourceInputStream.java b/src/main/java/org/apache/commons/imaging/bytesource/ByteSourceInputStream.java index be755a09..7441fd21 100644 --- a/src/main/java/org/apache/commons/imaging/bytesource/ByteSourceInputStream.java +++ b/src/main/java/org/apache/commons/imaging/bytesource/ByteSourceInputStream.java @@ -30,6 +30,7 @@ import org.apache.commons.io.IOUtils; class ByteSourceInputStream extends ByteSource { private class CacheBlock { + public final byte[] bytes; private CacheBlock next; private boolean triedNext; @@ -52,7 +53,7 @@ class ByteSourceInputStream extends ByteSource { } - private class CacheReadingInputStream extends InputStream { + private class CachingInputStream extends InputStream { private CacheBlock block; private boolean readFirst; private int blockIndex; @@ -216,7 +217,7 @@ class ByteSourceInputStream extends ByteSource { @Override public InputStream getInputStream() throws IOException { - return new CacheReadingInputStream(); + return new CachingInputStream(); } private CacheBlock readBlock() throws IOException {