@@ -291,7 +291,7 @@ public interface FailableSupplier<R, T extends Throwable> {
291291 * @param object2 the second object to consume by {@code consumer}
292292 * @param <O1> the type of the first argument the consumer accepts
293293 * @param <O2> the type of the second argument the consumer accepts
294- * @param <T> the type of checked exception the consumer may throw
294+ * @param <T> The type of checked exception the consumer may throw
295295 */
296296 public static <O1 , O2 , T extends Throwable > void accept (final FailableBiConsumer <O1 , O2 , T > consumer ,
297297 final O1 object1 , final O2 object2 ) {
@@ -303,8 +303,8 @@ public static <O1, O2, T extends Throwable> void accept(final FailableBiConsumer
303303 *
304304 * @param consumer the consumer to consume
305305 * @param object the object to consume by {@code consumer}
306- * @param <O> the type the consumer accepts
307- * @param <T> the type of checked exception the consumer may throw
306+ * @param <O> The type the consumer accepts
307+ * @param <T> The type of checked exception the consumer may throw
308308 */
309309 public static <O , T extends Throwable > void accept (final FailableConsumer <O , T > consumer , final O object ) {
310310 run (() -> consumer .accept (object ));
@@ -318,8 +318,8 @@ public static <O, T extends Throwable> void accept(final FailableConsumer<O, T>
318318 * @param input2 the second input to apply {@code function} on
319319 * @param <O1> the type of the first argument the function accepts
320320 * @param <O2> the type of the second argument the function accepts
321- * @param <O> the return type of the function
322- * @param <T> the type of checked exception the function may throw
321+ * @param <O> The return type of the function
322+ * @param <T> The type of checked exception the function may throw
323323 * @return the value returned from the function
324324 */
325325 public static <O1 , O2 , O , T extends Throwable > O apply (final FailableBiFunction <O1 , O2 , O , T > function ,
@@ -332,9 +332,9 @@ public static <O1, O2, O, T extends Throwable> O apply(final FailableBiFunction<
332332 *
333333 * @param function the function to apply
334334 * @param input the input to apply {@code function} on
335- * @param <I> the type of the argument the function accepts
336- * @param <O> the return type of the function
337- * @param <T> the type of checked exception the function may throw
335+ * @param <I> The type of the argument the function accepts
336+ * @param <O> The return type of the function
337+ * @param <T> The type of checked exception the function may throw
338338 * @return the value returned from the function
339339 */
340340 public static <I , O , T extends Throwable > O apply (final FailableFunction <I , O , T > function , final I input ) {
@@ -359,7 +359,7 @@ public static <O1, O2> BiConsumer<O1, O2> asBiConsumer(final FailableBiConsumer<
359359 *
360360 * @param <O1> the type of the first argument of the input of the functions
361361 * @param <O2> the type of the second argument of the input of the functions
362- * @param <O> the type of the output of the functions
362+ * @param <O> The type of the output of the functions
363363 * @param function a {@link FailableBiFunction}
364364 * @return a standard {@link BiFunction}
365365 * @since 3.10
@@ -384,7 +384,7 @@ public static <O1, O2> BiPredicate<O1, O2> asBiPredicate(final FailableBiPredica
384384 /**
385385 * Converts the given {@link FailableCallable} into a standard {@link Callable}.
386386 *
387- * @param <O> the type used by the callables
387+ * @param <O> The type used by the callables
388388 * @param callable a {@link FailableCallable}
389389 * @return a standard {@link Callable}
390390 * @since 3.10
@@ -396,7 +396,7 @@ public static <O> Callable<O> asCallable(final FailableCallable<O, ?> callable)
396396 /**
397397 * Converts the given {@link FailableConsumer} into a standard {@link Consumer}.
398398 *
399- * @param <I> the type used by the consumers
399+ * @param <I> The type used by the consumers
400400 * @param consumer a {@link FailableConsumer}
401401 * @return a standard {@link Consumer}
402402 * @since 3.10
@@ -408,8 +408,8 @@ public static <I> Consumer<I> asConsumer(final FailableConsumer<I, ?> consumer)
408408 /**
409409 * Converts the given {@link FailableFunction} into a standard {@link Function}.
410410 *
411- * @param <I> the type of the input of the functions
412- * @param <O> the type of the output of the functions
411+ * @param <I> The type of the input of the functions
412+ * @param <O> The type of the output of the functions
413413 * @param function a {code FailableFunction}
414414 * @return a standard {@link Function}
415415 * @since 3.10
@@ -421,7 +421,7 @@ public static <I, O> Function<I, O> asFunction(final FailableFunction<I, O, ?> f
421421 /**
422422 * Converts the given {@link FailablePredicate} into a standard {@link Predicate}.
423423 *
424- * @param <I> the type used by the predicates
424+ * @param <I> The type used by the predicates
425425 * @param predicate a {@link FailablePredicate}
426426 * @return a standard {@link Predicate}
427427 * @since 3.10
@@ -444,7 +444,7 @@ public static Runnable asRunnable(final FailableRunnable<?> runnable) {
444444 /**
445445 * Converts the given {@link FailableSupplier} into a standard {@link Supplier}.
446446 *
447- * @param <O> the type supplied by the suppliers
447+ * @param <O> The type supplied by the suppliers
448448 * @param supplier a {@link FailableSupplier}
449449 * @return a standard {@link Supplier}
450450 * @since 3.10
@@ -457,8 +457,8 @@ public static <O> Supplier<O> asSupplier(final FailableSupplier<O, ?> supplier)
457457 * Calls a callable and rethrows any exception as a {@link RuntimeException}.
458458 *
459459 * @param callable the callable to call
460- * @param <O> the return type of the callable
461- * @param <T> the type of checked exception the callable may throw
460+ * @param <O> The return type of the callable
461+ * @param <T> The type of checked exception the callable may throw
462462 * @return the value returned from the callable
463463 */
464464 public static <O , T extends Throwable > O call (final FailableCallable <O , T > callable ) {
@@ -534,7 +534,7 @@ public static RuntimeException rethrow(final Throwable throwable) {
534534 * Runs a runnable and rethrows any exception as a {@link RuntimeException}.
535535 *
536536 * @param runnable The runnable to run
537- * @param <T> the type of checked exception the runnable may throw
537+ * @param <T> The type of checked exception the runnable may throw
538538 */
539539 public static <T extends Throwable > void run (final FailableRunnable <T > runnable ) {
540540 try {
@@ -583,7 +583,7 @@ public static <O> FailableStream<O> stream(final Stream<O> stream) {
583583 * @param object2 the second input to test by {@code predicate}
584584 * @param <O1> the type of the first argument the predicate tests
585585 * @param <O2> the type of the second argument the predicate tests
586- * @param <T> the type of checked exception the predicate may throw
586+ * @param <T> The type of checked exception the predicate may throw
587587 * @return the boolean value returned by the predicate
588588 */
589589 public static <O1 , O2 , T extends Throwable > boolean test (final FailableBiPredicate <O1 , O2 , T > predicate ,
@@ -596,8 +596,8 @@ public static <O1, O2, T extends Throwable> boolean test(final FailableBiPredica
596596 *
597597 * @param predicate the predicate to test
598598 * @param object the input to test by {@code predicate}
599- * @param <O> the type of argument the predicate tests
600- * @param <T> the type of checked exception the predicate may throw
599+ * @param <O> The type of argument the predicate tests
600+ * @param <T> The type of checked exception the predicate may throw
601601 * @return the boolean value returned by the predicate
602602 */
603603 public static <O , T extends Throwable > boolean test (final FailablePredicate <O , T > predicate , final O object ) {
0 commit comments