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/05/16 15:17:56 UTC
[commons-imaging] 11/14: Encapsulate PngChunkIccp
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 680846dcb5a071db9740a871fd8608246d1a9899
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue May 16 10:46:27 2023 -0400
Encapsulate PngChunkIccp
---
.../org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java b/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java
index a508b012..46ea41ea 100644
--- a/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java
+++ b/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java
@@ -106,7 +106,7 @@ public class PngChunkIccp extends PngChunk {
}
public byte[] getCompressedProfile() {
- return compressedProfile;
+ return compressedProfile.clone();
}
public int getCompressionMethod() {