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

AbstractFileObject sometimes uses getFileSystem() and sometimes references "fs" field directly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1
    • Labels:
      None

      Description

      AbstractFileObject sometimes uses getFileSystem() - which just returns fs - and sometimes references the "fs" field directly.

      If there is a good reason why the getter should be used sometimes and not others, then this ought to be documented.

      If not, then it would be better to standardize on using either the field or the getter, depending on whether there is any reason to override the getter.
      [There don't appear to be any overrides currently].

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: