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

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

    XMLWordPrintable

Details

    • b19
    • Verified

    Description

      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.


      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: