Skip to content

Commit 3e9e641

Browse files
修复 set 方法权限问题
1 parent 70e18bc commit 3e9e641

5 files changed

Lines changed: 1 addition & 5 deletions

File tree

jar/PDCache.jar

-2 Bytes
Binary file not shown.

jar/PDCache_bin.jar

-2 Bytes
Binary file not shown.

src/main/java/fybug/nulll/pdcache/memory/Cache.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ V emptyData()
9999
* @return this
100100
*/
101101
@NotNull
102-
protected
102+
public
103103
Cache<V> set(@NotNull V v) throws Exception {
104104
putdata(v);
105105
return this;

src/main/java/fybug/nulll/pdcache/memory/MapCache.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import org.jetbrains.annotations.NotNull;
33
import org.jetbrains.annotations.Nullable;
44

5-
import java.io.Closeable;
65
import java.lang.ref.Reference;
76

87
import fybug.nulll.pdcache.MapCacheOb;

src/main/java/fybug/nulll/pdcache/supplier/memory/SCache.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@
22
import org.jetbrains.annotations.NotNull;
33

44
import java.lang.ref.Reference;
5-
import java.lang.ref.WeakReference;
65

7-
import fybug.nulll.pdcache.CacheGcThrea;
86
import fybug.nulll.pdcache.CacheOb;
9-
import fybug.nulll.pdcache.CanClean;
107
import fybug.nulll.pdcache.MemoryCache;
118
import fybug.nulll.pdcache.memory.Cache;
129
import fybug.nulll.pdconcurrent.SyLock;

0 commit comments

Comments
 (0)