Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
8.0.0-M6
-
None
-
None
Description
Model should provide
public <X extends Throwable> T orElseThrow(Supplier<? extends X> exceptionSupplier) throws X;
public boolean isPresent();
public void ifPresent(Consumer<? super T> consumer);
methods for the sake of consistency with Optional API
Attachments
Issue Links
- relates to
-
WICKET-6412 Model#orElse behavior is inconsistent!
- Resolved