arturobernalg commented on a change in pull request #155:
URL: https://github.com/apache/commons-imaging/pull/155#discussion_r665700494
##########
File path:
src/main/java/org/apache/commons/imaging/formats/png/PngImageParser.java
##########
@@ -254,9 +254,8 @@ public void readSignature(final InputStream is) throws
ImageReadException,
}
final PngChunkIccp pngChunkiCCP = (PngChunkIccp) chunks.get(0);
- final byte[] bytes = pngChunkiCCP.getUncompressedProfile(); // TODO
should this be a clone?
- return (bytes);
+ return (pngChunkiCCP.getUncompressedProfile());
Review comment:
Reverted
TY
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]