You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2010/09/21 19:13:37 UTC

[jira] Created: (VFS-321) AbstractFileObject sometimes uses getFileSystem() and sometimes references "fs" field directly

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

                 Key: VFS-321
                 URL: https://issues.apache.org/jira/browse/VFS-321
             Project: Commons VFS
          Issue Type: Bug
            Reporter: Sebb
            Priority: Minor


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].

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.