diff --git a/src/main/java/org/apache/commons/lang3/time/StopWatch.java b/src/main/java/org/apache/commons/lang3/time/StopWatch.java index f848687a560..4e425ebcd06 100644 --- a/src/main/java/org/apache/commons/lang3/time/StopWatch.java +++ b/src/main/java/org/apache/commons/lang3/time/StopWatch.java @@ -710,7 +710,7 @@ public void unsplit() { * @param supplier the {@link FailableSupplier} those execution should be measured * @return the result of the {@link FailableSupplier#get()} operation * @throws E if the supplier fails - * @since 3.17.0 + * @since 3.18.0 */ public T get(final FailableSupplier supplier) throws E { resumeOrStartStopWatch(); @@ -744,7 +744,7 @@ public T get(final FailableSupplier supplier) thr * @param supplier the {@link Supplier} those execution should be measured * @return the result of the {@link Supplier#get()} operation * @throws IllegalStateException if the {@link StopWatch} is not stopped or suspended - * @since 3.17.0 + * @since 3.18.0 */ public T get(final Supplier supplier) { resumeOrStartStopWatch(); @@ -789,7 +789,7 @@ public T get(final Supplier supplier) { * @param function the function those application should be measured * @return the given function prepared to take time if applied * @throws IllegalStateException if the {@link StopWatch} is not stopped or suspended - * @since 3.17.0 + * @since 3.18.0 */ public Function apply(final Function function) { return arg -> { @@ -827,7 +827,7 @@ public Function apply(final Function function) { * @param function the function those application should be measured * @return the given function prepared to take time if applied * @throws IllegalStateException if the {@link StopWatch} is not stopped or suspended - * @since 3.17.0 + * @since 3.18.0 */ public FailableFunction apply(final FailableFunction function) { return arg -> { @@ -865,7 +865,7 @@ public FailableFunction apply(final Failabl * @param function the function those application should be measured * @return the given function prepared to take time if applied * @throws IllegalStateException if the {@link StopWatch} is not stopped or suspended - * @since 3.17.0 + * @since 3.18.0 */ public BiFunction apply(final BiFunction function) { return (firstArg, secondArg) -> { @@ -904,7 +904,7 @@ public BiFunction apply(final BiFunction function) { * @param function the function those application should be measured * @return the given function prepared to take time if applied * @throws IllegalStateException if the {@link StopWatch} is not stopped or suspended - * @since 3.17.0 + * @since 3.18.0 */ public FailableBiFunction apply(final FailableBiFunction function) { return (firstArg, secondArg) -> { @@ -943,7 +943,7 @@ public FailableBiFunction apply(final * @param function the function those application should be measured * @return the given function prepared to take time if applied * @throws IllegalStateException if the StopWatch is not stopped or suspended - * @since 3.17.0 + * @since 3.18.0 */ public TriFunction apply(final TriFunction function) { return (firstArg, secondArg, thirdArg) -> { @@ -979,7 +979,7 @@ public TriFunction apply(final TriFunction * @param consumer the consumer those application should be measured * @return the given consumer prepared to take time if applied * @throws IllegalStateException if the {@link StopWatch} is not stopped or suspended - * @since 3.17.0 + * @since 3.18.0 */ public Consumer accept(final Consumer consumer) { return arg -> { @@ -1016,7 +1016,7 @@ public Consumer accept(final Consumer consumer) { * @param consumer the consumer those application should be measured * @return the given consumer prepared to take time if applied * @throws IllegalStateException if the {@link StopWatch} is not stopped or suspended - * @since 3.17.0 + * @since 3.18.0 */ public BiConsumer accept(final BiConsumer consumer) { return (first, second) -> { @@ -1054,7 +1054,7 @@ public BiConsumer accept(final BiConsumer consumer) { * @param consumer the consumer those application should be measured * @return the given consumer prepared to take time if applied * @throws IllegalStateException if the StopWatch is not stopped or suspended - * @since 3.17.0 + * @since 3.18.0 */ public FailableBiConsumer accept(final FailableBiConsumer consumer) { return (first, second) -> { @@ -1091,7 +1091,7 @@ public FailableBiConsumer accept(final Fail * @param consumer the consumer those application should be measured * @return the given consumer prepared to take time if applied * @throws IllegalStateException if the {@link StopWatch} is not stopped or suspended - * @since 3.17.0 + * @since 3.18.0 */ public FailableConsumer accept(final FailableConsumer consumer) { return arg -> { @@ -1129,7 +1129,7 @@ public FailableConsumer accept(final FailableCons * @param consumer the consumer those application should be measured * @return the given consumer prepared to take time if applied * @throws IllegalStateException if the {@link StopWatch} is not stopped or suspended - * @since 3.17.0 + * @since 3.18.0 */ public TriConsumer accept(final TriConsumer consumer) { return (firstArg, secondArg, thirdArg) -> { @@ -1167,7 +1167,7 @@ public TriConsumer accept(final TriConsumer consumer * @param predicate the predicate those application should be measured * @return the given predicate prepared to take time if applied * @throws IllegalStateException if the {@link StopWatch} is not stopped or suspended - * @since 3.17.0 + * @since 3.18.0 */ public Predicate test(final Predicate predicate) { return arg -> { @@ -1207,7 +1207,7 @@ public Predicate test(final Predicate predicate) { * @param predicate the predicate those application should be measured * @return the given predicate prepared to take time if applied * @throws IllegalStateException if the {@link StopWatch} is not stopped or suspended - * @since 3.17.0 + * @since 3.18.0 */ public BiPredicate test(final BiPredicate predicate) { return (firstArg, secondArg) -> { @@ -1246,7 +1246,7 @@ public BiPredicate test(final BiPredicate predicate) { * @param predicate the predicate those application should be measured * @return the given predicate prepared to take time if applied * @throws IllegalStateException if the {@link StopWatch} is not stopped or suspended - * @since 3.17.0 + * @since 3.18.0 */ public FailableBiPredicate test(final FailableBiPredicate predicate) { return (firstArg, secondArg) -> { @@ -1284,7 +1284,7 @@ public FailableBiPredicate test(final Faila * @param predicate the predicate those application should be measured * @return the given predicate prepared to take time if applied * @throws IllegalStateException if the {@link StopWatch} is not stopped or suspended - * @since 3.17.0 + * @since 3.18.0 */ public FailablePredicate test(final FailablePredicate predicate) { resumeOrStartStopWatch();