From 51efc95c1c1c47c364ec4bc647b9a07fda0d2b54 Mon Sep 17 00:00:00 2001 From: LamGC Date: Thu, 2 Jul 2020 13:41:34 +0800 Subject: [PATCH 1/2] =?UTF-8?q?[Update]=20net.mamoe:mirai-core,=20net.mamo?= =?UTF-8?q?e:mirai-core-qqandroid=20=E6=9B=B4=E6=96=B0=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E5=BA=93=E7=89=88=E6=9C=AC(1.0.2=20->=201.0.4);?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 18a340e..0acd0c0 100644 --- a/pom.xml +++ b/pom.xml @@ -27,7 +27,7 @@ UTF-8 UTF-8 UTF-8 - 1.0.2 + 1.0.4 1.1.1 1.3.71 1.3.2 From 62e3affef16e74b98f28dbf2ada8e5974a46653a Mon Sep 17 00:00:00 2001 From: LamGC Date: Thu, 2 Jul 2020 13:46:46 +0800 Subject: [PATCH 2/2] =?UTF-8?q?[Change]=20LocalHashCacheStore=20=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E5=86=85=E9=83=A8=E7=B1=BBCacheObject=E7=9A=84?= =?UTF-8?q?=E8=AE=BF=E9=97=AE=E6=9D=83;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/net/lamgc/cgj/bot/cache/LocalHashCacheStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/lamgc/cgj/bot/cache/LocalHashCacheStore.java b/src/main/java/net/lamgc/cgj/bot/cache/LocalHashCacheStore.java index 4ef6196..0fa9398 100644 --- a/src/main/java/net/lamgc/cgj/bot/cache/LocalHashCacheStore.java +++ b/src/main/java/net/lamgc/cgj/bot/cache/LocalHashCacheStore.java @@ -158,7 +158,7 @@ public class LocalHashCacheStore implements CacheStore, Cleanable { expireKeySet.forEach(cache::remove); } - public static class CacheObject implements Comparable> { + private static class CacheObject implements Comparable> { private final AtomicReference value; private final AtomicReference expire;