Skip to content

Commit 8c9195b

Browse files
committed
Javadoc: More precise generic type documentation
1 parent 752bf27 commit 8c9195b

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

src/main/java/org/apache/commons/lang3/builder/AbstractSupplier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
/**
2323
* Abstracts supplying an instance of {@code T}. Use to implement the builder pattern.
2424
*
25-
* @param <T> the type of instances to build.
25+
* @param <T> The type of results supplied by this supplier.
2626
* @param <B> the type of builder.
2727
* @param <E> The kind of thrown exception or error.
2828
* @since 3.14.0

src/main/java/org/apache/commons/lang3/concurrent/AbstractConcurrentInitializer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ public abstract class AbstractConcurrentInitializer<T, E extends Exception> impl
3636
/**
3737
* Builds a new instance for subclasses.
3838
*
39-
* @param <T> the type of the object managed by the initializer class.
40-
* @param <I> the type of the initializer class.
41-
* @param <B> the type of builder.
39+
* @param <I> The type of results supplied by this builder.
40+
* @param <T> The type of the object managed by the initializer class.
41+
* @param <B> The type of builder.
4242
* @param <E> The exception type thrown by {@link #initialize()}.
4343
*/
4444
public abstract static class AbstractBuilder<I extends AbstractConcurrentInitializer<T, E>, T, B extends AbstractBuilder<I, T, B, E>, E extends Exception>

src/main/java/org/apache/commons/lang3/concurrent/AtomicInitializer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ public class AtomicInitializer<T> extends AbstractConcurrentInitializer<T, Concu
7070
/**
7171
* Builds a new instance.
7272
*
73-
* @param <T> the type of the object managed by the initializer.
74-
* @param <I> the type of the initializer managed by this builder.
73+
* @param <T> The type of results supplied by this builder.
74+
* @param <I> The type of the initializer managed by this builder.
7575
* @since 3.14.0
7676
*/
7777
public static class Builder<I extends AtomicInitializer<T>, T> extends AbstractBuilder<I, T, Builder<I, T>, ConcurrentException> {

src/main/java/org/apache/commons/lang3/concurrent/AtomicSafeInitializer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ public class AtomicSafeInitializer<T> extends AbstractConcurrentInitializer<T, C
5959
/**
6060
* Builds a new instance.
6161
*
62-
* @param <T> the type of the object managed by the initializer.
63-
* @param <I> the type of the initializer managed by this builder.
62+
* @param <T> The type of results supplied by this builder.
63+
* @param <I> The type of the initializer managed by this builder.
6464
* @since 3.14.0
6565
*/
6666
public static class Builder<I extends AtomicSafeInitializer<T>, T> extends AbstractBuilder<I, T, Builder<I, T>, ConcurrentException> {

src/main/java/org/apache/commons/lang3/concurrent/BackgroundInitializer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ public class BackgroundInitializer<T> extends AbstractConcurrentInitializer<T, E
9090
/**
9191
* Builds a new instance.
9292
*
93-
* @param <T> the type of the object managed by the initializer.
94-
* @param <I> the type of the initializer managed by this builder.
93+
* @param <T> The type of results supplied by this builder.
94+
* @param <I> The type of the initializer managed by this builder.
9595
* @since 3.14.0
9696
*/
9797
public static class Builder<I extends BackgroundInitializer<T>, T> extends AbstractBuilder<I, T, Builder<I, T>, Exception> {

src/main/java/org/apache/commons/lang3/concurrent/LazyInitializer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ public class LazyInitializer<T> extends AbstractConcurrentInitializer<T, Concurr
7474
/**
7575
* Builds a new instance.
7676
*
77-
* @param <T> the type of the object managed by the initializer.
78-
* @param <I> the type of the initializer managed by this builder.
77+
* @param <T> The type of results supplied by this builder.
78+
* @param <I> The type of the initializer managed by this builder.
7979
* @since 3.14.0
8080
*/
8181
public static class Builder<I extends LazyInitializer<T>, T> extends AbstractBuilder<I, T, Builder<I, T>, ConcurrentException> {

src/main/java/org/apache/commons/lang3/function/FailableSupplier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
/**
2323
* A functional interface like {@link Supplier} that declares a {@link Throwable}.
2424
*
25-
* @param <T> Return type.
25+
* @param <T> The type of results supplied by this supplier.
2626
* @param <E> The kind of thrown exception or error.
2727
* @since 3.11
2828
*/

0 commit comments

Comments
 (0)