We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 565b4a1 commit 09eaad6Copy full SHA for 09eaad6
1 file changed
rlib-common/src/main/java/com/ss/rlib/common/util/array/ConcurrentArray.java
@@ -39,7 +39,7 @@ public interface ConcurrentArray<E> extends Array<E> {
39
* @param <T> the element's type.
40
* @return the supplier.
41
*/
42
- static <T> @NotNull Supplier<ConcurrentArray<T>> supplier(@NotNull Class<? super T> type) {
+ static <T> @NotNull NotNullSupplier<ConcurrentArray<T>> supplier(@NotNull Class<? super T> type) {
43
return () -> ArrayFactory.newConcurrentStampedLockArray(type);
44
}
45
0 commit comments