Skip to content

Commit 8d84861

Browse files
committed
更新
1 parent dfc92f4 commit 8d84861

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/crossoverjie/actual/AbstractMap.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public class AbstractMap extends java.util.AbstractMap {
6666
/**
6767
* 超时时间
6868
*/
69-
private final static Long EXPIRETIME = 60 * 60 * 1000L ;
69+
private final static Long EXPIRE_TIME = 60 * 60 * 1000L ;
7070

7171
/**
7272
* 整个 Map 的大小
@@ -334,7 +334,7 @@ public void run() {
334334
}
335335
Long updateTime = node.getUpdateTime() ;
336336

337-
if ((updateTime - System.currentTimeMillis()) >= EXPIRETIME){
337+
if ((updateTime - System.currentTimeMillis()) >= EXPIRE_TIME){
338338
remove(node.key) ;
339339
}
340340
} catch (Exception e) {

0 commit comments

Comments
 (0)