Description
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.
Attachments
Attachments
Issue Links
- breaks
-
HADOOP-10439 Fix compilation error in branch-2 after HADOOP-10426
- Closed