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.