commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Created: (VFS-321) AbstractFileObject sometimes uses getFileSystem() and sometimes references "fs" field directly
Date Tue, 21 Sep 2010 17:13:37 GMT
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.


Mime
View raw message