Github user garydgregory commented on a diff in the pull request:
https://github.com/apache/commons-imaging/pull/35#discussion_r210286764
--- Diff:
src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkText.java
---
@@ -42,9 +47,9 @@ public PngChunkText(final int length, final int
chunkType, final int crc, final
final int textLength = bytes.length - (index + 1);
text = new String(bytes, index + 1, textLength,
StandardCharsets.ISO_8859_1);
- if (getDebug()) {
- System.out.println("Keyword: " + keyword);
- System.out.println("Text: " + text);
+ if (LOGGER.isLoggable(Level.FINE)) {
--- End diff --
Uhg, the JUL level names are AWFUL :=(
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]