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

Remove double buffering of InputStream for Properties.load

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 19
    • 17, 18
    • core-libs
    • None
    • b06

      `Properties.load` uses `java.util.Properties.LineReader`. LineReader already buffers input stream. Hence wrapping InputStream in BufferedInputStream is redundant.
      There are few places, where code wraps InputStream in BufferedStream, before call Properties.load. Such places could be cleaned up.

            aturbanov Andrey Turbanov
            aturbanov Andrey Turbanov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: