-
Improvement
-
Resolution: Done
-
Lowest
-
None
-
None
-
Operating System: All
Platform: All
URL: https://git.opendaylight.org/gerrit/#/c/45742/
It would be "nice" (this is an Enhancement, not a Bug) if an Augmentable DataObject would have an alternative sugar shortcut new addAugmentation method variant which does not require the first (java.lang.Class<? extends Augmentation<...>> augmentationType but only the second Augmentation<...> augmentation argument.
This would just shorten the typical and often found code which IMHO is a little a silly, where the interface of an augmentation has to be specified together with creating ("can't it figure this out by itself??" - kind of thing).
- split to
-
MDSAL-575 Remove compatibility Builder.addAugmentation(Class, Augmentation)
- Resolved