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

IOUtils.closeQuietly() should take a Closeable as a parameter.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4
    • 2.0
    • Utilities
    • None

    Description

      Right now, there are several IOUtils.closeQuietly methods that take things like InputStream, OutputStream, Reader, Writer, but why not simply have one IOUtils.closeQuietly method which takes a Closeable? It seems like this would simplify things and also enhance the usability of the function.

      Attachments

        Issue Links

          Activity

            People

              niallp Niall Pemberton
              scote Sean Cote
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: