Details
-
Improvement
-
Status: Resolved
-
Medium
-
Resolution: Done
-
None
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
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 103760,1 | Add Augmentable.augmentationOrElseThrow() | 10.0.x | mdsal | Status: MERGED | +2 | +1 |
| 104036,5 | Add Augmentable.augmentationOrElseThrow() | master | mdsal | Status: MERGED | +2 | +1 |