Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-254

Let FileObject and FileContent extend java.io.Closeable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.0, later, Nightly Builds, 2.0
    • Fix Version/s: 2.1
    • Labels:
      None

      Description

      What about letting FileObject and FileContent extend java.io.Closeable interface?

      Some applications have a generic code for closing such resources (and for example ignoring and logging exceptions during close), so it may be useful at application-level.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mzawirski Marek Zawirski
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: