Uploaded image for project: 'Click'
  1. Click
  2. CLK-620

Replace multiple ClickUtils.close methods with a single one accepting Closeable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • None
    • None

    Description

      Since Java5 InputStream, Reader, OutputStream and Writer all implement Closeable. We can replace all the close methods with a single method accepting Closeable.

      This issue was raised and fixed by Andrey Rybin.

      Attachments

        Activity

          People

            sabob Bob Schellink
            sabob Bob Schellink
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: