Improving ServerContextCache
This commit is contained in:
parent
a424844dce
commit
a21b1d9173
|
@ -151,6 +151,7 @@ public class ServerContextCache extends ContextCache {
|
|||
this.uuidToContextMetaPrivacy.put(uuid, contextMetaPrivacy);
|
||||
|
||||
Context contextNoMeta = new ContextImpl(c.getName());
|
||||
contextNoMeta.setMetadata(null);
|
||||
contextWithMeta.setID(uuid);
|
||||
this.contextsNoMeta.add(contextNoMeta);
|
||||
this.uuidToContextNoMeta.put(uuid, contextNoMeta);
|
||||
|
@ -186,6 +187,7 @@ public class ServerContextCache extends ContextCache {
|
|||
|
||||
Context parentNoMeta = this.uuidToContextNoMeta.get(parentUUID);
|
||||
IsParentOf isParentOfNoMeta = new IsParentOfImpl(parentNoMeta, contextNoMeta);
|
||||
isParentOfNoMeta.setMetadata(null);
|
||||
isParentOfNoMeta.setID(parentUUID);
|
||||
parentNoMeta.addChild(isParentOfNoMeta);
|
||||
contextNoMeta.setParent(isParentOfNoMeta);
|
||||
|
|
Loading…
Reference in New Issue