Fixed ServerContextCache issue
This commit is contained in:
parent
084e223669
commit
2d863b99fc
|
@ -66,12 +66,11 @@ public class ServerContextCache extends ContextCache {
|
|||
uuidToContextMetaPrivacy = null;
|
||||
contextsNoMeta = null;
|
||||
uuidToContextNoMeta = null;
|
||||
|
||||
}
|
||||
|
||||
public ServerContextCache() {
|
||||
super();
|
||||
cleanCache();
|
||||
Calendar now = Calendar.getInstance();
|
||||
cleanCache(now);
|
||||
initContextCacheRenewal();
|
||||
}
|
||||
|
||||
|
@ -149,7 +148,7 @@ public class ServerContextCache extends ContextCache {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void setContexts(List<Context> contexts) {
|
||||
protected void setContexts(Calendar calendar, List<Context> contexts) {
|
||||
this.contexts = new ArrayList<>();
|
||||
this.uuidToContext = new LinkedHashMap<>();
|
||||
|
||||
|
|
Loading…
Reference in New Issue