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

Let FileObject and FileContent extend java.io.Closeable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.0, later, Nightly Builds, 2.0
    • 2.1
    • 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

        1. extend_cloneable.patch
          1 kB
          Marek Zawirski

        Activity

          People

            Unassigned Unassigned
            mzawirski Marek Zawirski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: