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

Add Augmentable.augmentationOrElseThrow()

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 10.0.7, 11.0.5
    • Binding Spec

    Description

      A number of of users assume or require an augmentation to be present. Unfortunately this ends up being rather verbose and there is no @NonNull-returning method.

      As a first step add augmentationOrElseThrows() methods, which throw either a NoSuchElementException or an exception returned by a Supplier.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: