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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.2.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: