Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8261301

StringWriter.flush() is NOOP but documentation does not indicate it

XMLWordPrintable

    • b19
    • Verified

      A DESCRIPTION OF THE PROBLEM :
      StringWriter.flush() does not do anything, however its documentation says "Flush the stream.".
      This is rather misleading.

      It would be good if the documentation could be changed to indicate that it does nothing, preventing users from needlessly calling it.


            bpb Brian Burkhalter
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: