Fixed ServerContextCache issue

This commit is contained in:
luca.frosini 2023-11-10 15:44:43 +01:00
parent 084e223669
commit 2d863b99fc
1 changed files with 3 additions and 4 deletions

View File

@ -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<>();