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

Remove extra FileSystem ivar in AbstractFileObject subclasses with generics

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Labels:
      None

      Description

      Most AbstractFileObject subclasses track a FileSystem instance in an ivar typed for that provider (FtpFileSystem for example).

      This can be cleaned up nicely with generics.

      Thoughts for or against?

      Here is an attachment that shows how this would work for FTP.

        Attachments

        1. vfs-afs.diff
          27 kB
          Gary Gregory

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ggregory Gary Gregory
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: