Fixed cache
This commit is contained in:
parent
b32f282044
commit
20914f3f06
|
@ -169,7 +169,7 @@ public class ServerContextCache extends ContextCache {
|
|||
|
||||
Context contextNoMeta = new ContextImpl(c.getName());
|
||||
contextNoMeta.setMetadata(null);
|
||||
contextWithMeta.setID(uuid);
|
||||
contextNoMeta.setID(uuid);
|
||||
this.contextsNoMeta.add(contextNoMeta);
|
||||
this.uuidToContextNoMeta.put(uuid, contextNoMeta);
|
||||
|
||||
|
@ -188,11 +188,11 @@ public class ServerContextCache extends ContextCache {
|
|||
UUID parentUUID = ipo.getSource().getID();
|
||||
|
||||
Context parentWithMeta = this.uuidToContext.get(parentUUID);
|
||||
IsParentOf isParentOf = new IsParentOfImpl(parentWithMeta, contextMeta);
|
||||
isParentOf.setID(parentUUID);
|
||||
isParentOf.setMetadata(ipo.getMetadata());
|
||||
parentWithMeta.addChild(isParentOf);
|
||||
contextMeta.setParent(isParentOf);
|
||||
IsParentOf isParentOfWithMeta = new IsParentOfImpl(parentWithMeta, contextMeta);
|
||||
isParentOfWithMeta.setID(parentUUID);
|
||||
isParentOfWithMeta.setMetadata(ipo.getMetadata());
|
||||
parentWithMeta.addChild(isParentOfWithMeta);
|
||||
contextMeta.setParent(isParentOfWithMeta);
|
||||
|
||||
Context parentWithMetaPrivacy = this.uuidToContextMetaPrivacy.get(parentUUID);
|
||||
IsParentOf isParentOfMetaPrivacy = new IsParentOfImpl(parentWithMetaPrivacy, contextMetaPrivacy);
|
||||
|
|
Loading…
Reference in New Issue