Tsz Wo Nicholas Sze created HADOOP-10426:
--------------------------------------------
Summary: CreateOpts.getOpt(..) should declare with generic type
argument
Key: HADOOP-10426
URL: https://issues.apache.org/jira/browse/HADOOP-10426
Project: Hadoop Common
Issue Type: Sub-task
Components: fs
Reporter: Tsz Wo Nicholas Sze
Assignee: Tsz Wo Nicholas Sze
Priority: Minor
Similar to CreateOpts.setOpt(..), the CreateOpts.getOpt(..) should also declare
with a generic type parameter <T extends CreateOpts>. Then, all the casting
from CreateOpts to its subclasses can be avoided.
--
This message was sent by Atlassian JIRA
(v6.2#6252)