Skip to content

Commit 09eaad6

Browse files
committed
update concurrent array API
1 parent 565b4a1 commit 09eaad6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rlib-common/src/main/java/com/ss/rlib/common/util/array/ConcurrentArray.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public interface ConcurrentArray<E> extends Array<E> {
3939
* @param <T> the element's type.
4040
* @return the supplier.
4141
*/
42-
static <T> @NotNull Supplier<ConcurrentArray<T>> supplier(@NotNull Class<? super T> type) {
42+
static <T> @NotNull NotNullSupplier<ConcurrentArray<T>> supplier(@NotNull Class<? super T> type) {
4343
return () -> ArrayFactory.newConcurrentStampedLockArray(type);
4444
}
4545

0 commit comments

Comments
 (0)