Skip to content

Commit 7a3ff38

Browse files
提取依赖并修改说明文件
1 parent ee0ff6a commit 7a3ff38

6 files changed

Lines changed: 3 additions & 0 deletions

File tree

jar/PDConcurrent.jar

0 Bytes
Binary file not shown.

jar/PDConcurrent_all.jar

26 Bytes
Binary file not shown.

jar/PDConcurrent_bin.jar

0 Bytes
Binary file not shown.

jar/PDConcurrent_sources.jar

26 Bytes
Binary file not shown.

src/main/java/fybug/nulll/pdconcurrent/i/AbstractSyLock.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class AbstractSyLock implements SyLock {
3131
*
3232
* @implNote 使用 {@link #lock(LockType)} 与 {@link #unlock()} 方法实现上锁与解锁
3333
*/
34+
@SuppressWarnings("unchecked")
3435
@Override
3536
public
3637
<R, E extends Throwable> R lock(@NotNull LockType lockType, @NotNull trySupplier<R, E> run,
@@ -108,6 +109,7 @@ <R, E extends Throwable> R lock(@NotNull LockType lockType, @NotNull trySupplier
108109
*
109110
* @implNote 使用 {@link #trylock(LockType)} 与 {@link #unlock()} 方法实现上锁与解锁
110111
*/
112+
@SuppressWarnings("unchecked")
111113
@Override
112114
public
113115
<R, E extends Throwable> R trylock(@NotNull LockType lockType, @NotNull tryFunction<Boolean, R, E> run,

src/main/java/fybug/nulll/pdconcurrent/lock/ObjLock.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ class ObjLock implements SyLock {
7171
* @implNote 使用 {@code synchronized( Object )} 实现的隐式并发域
7272
* @since 0.1.0
7373
*/
74+
@SuppressWarnings("unchecked")
7475
@Override
7576
public
7677
<R, E extends Throwable> R lock(@NotNull LockType lockType, @NotNull trySupplier<R, E> run,

0 commit comments

Comments
 (0)