Commons IO
  1. Commons IO
  2. IO-292

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None

      Description

      Unfortunately ServerSocket does not implement Closeable, nor does it extend Socket, so none of the existing closeQuietly() methods can be used.

      Might be useful to implement this as well.

        Issue Links

          Activity

          Gary Gregory made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Hide
          Gary Gregory added a comment -

          Version 2.2 has been released and addresses this issue.

          Show
          Gary Gregory added a comment - Version 2.2 has been released and addresses this issue.
          Sebb made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 2.2 [ 12318448 ]
          Resolution Fixed [ 1 ]
          sebb committed 1202515 (2 files)
          Reviews: none

          IO-292 IOUtils.closeQuietly() should take a ServerSocket as a parameter

          Sebb made changes -
          Field Original Value New Value
          Link This issue relates to IO-224 [ IO-224 ]
          Sebb created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Sebb
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development