Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-504

Deprecated of all IOUtils.closeQuietly() methods and use try-with-resources internally

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.6
    • None
    • None

    Description

      As soon as 'commons-io' is targetted at Java 7, all 'IOUtils.closeQuietly' methods should be deprecated and people should be told to use the try-with-resources statement. Those methods are way to error prone and used incorrectly almost everywhere. If 'commons-io' has '-target 1.7', keeping those methods makes no sense anymore.

      Attachments

        1. IO-504.patch
          28 kB
          Christian Schulte
        2. IO-504.patch
          34 kB
          Christian Schulte

        Activity

          People

            Unassigned Unassigned
            schulte77 Christian Schulte
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: