Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
In FileSystem, some methods are overloaded with different parameter list. We should mark the convenient methods final.
For example, the create(...) method has 10 different signatures. Subclasses of FileSystem should only override the one with the most number or parameters but not the others. We should mark all the other 9 create(...) final.
Attachments
Issue Links
- relates to
-
HADOOP-4326 ChecksumFileSystem does not override all create(...) methods
- Closed
-
HADOOP-3252 Reduce the number of public FileSystem.create() methods
- Resolved