Polishing

See gh-1172
This commit is contained in:
Brian Clozel
2025-04-03 15:10:34 +02:00
parent 015058b7b5
commit 48c8885041

View File

@@ -107,6 +107,7 @@ public final class ArgumentValue<T> {
/**
* If a value is present, performs the given action with the value, otherwise does nothing.
* @param action the action to be performed, if a value is present
* @since 1.4.0
*/
public void ifPresent(Consumer<? super T> action) {
Assert.notNull(action, "Action is required");