Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
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].