Some convenient methods in the FileSystem API should be final.
--------------------------------------------------------------
Key: HADOOP-4328
URL: https://issues.apache.org/jira/browse/HADOOP-4328
Project: Hadoop Core
Issue Type: Improvement
Components: fs
Reporter: Tsz Wo (Nicholas), SZE
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.