Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-198

Augmentable's Builder addAugmentation variant without first class argument

    XMLWordPrintable

Details

    Description

      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).

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              rovarga Robert Varga
              vorburger Michael Vorburger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: