Github user garydgregory commented on a diff in the pull request:

    https://github.com/apache/commons-imaging/pull/35#discussion_r210287298
  
    --- Diff: 
src/main/java/org/apache/commons/imaging/formats/tiff/TiffField.java ---
    @@ -355,9 +360,14 @@ private String getValueDescription(final Object o) {
         }
     
         public void dump() {
    -        final PrintWriter pw = new PrintWriter(new 
OutputStreamWriter(System.out, Charset.defaultCharset()));
    -        dump(pw);
    -        pw.flush();
    +        try (StringWriter sw = new StringWriter(); PrintWriter pw = new 
PrintWriter(sw)) {
    --- End diff --
    
    Same comment as above.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to