From: Jussi Koskela Date: Thu, 11 Oct 2018 06:57:48 +0000 (+0300) Subject: Fixed ProfileObserver to remove entry from correct map X-Git-Tag: v1.43.0~136^2~337 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F97%2F2297%2F1;p=simantics%2Fplatform.git Fixed ProfileObserver to remove entry from correct map gitlab #145 Change-Id: Iab891836783d5de591ec686577769ed480dd5752 --- diff --git a/bundles/org.simantics.scenegraph.profile/src/org/simantics/scenegraph/profile/common/ProfileObserver.java b/bundles/org.simantics.scenegraph.profile/src/org/simantics/scenegraph/profile/common/ProfileObserver.java index 6fc72b3d3..efac19055 100644 --- a/bundles/org.simantics.scenegraph.profile/src/org/simantics/scenegraph/profile/common/ProfileObserver.java +++ b/bundles/org.simantics.scenegraph.profile/src/org/simantics/scenegraph/profile/common/ProfileObserver.java @@ -252,7 +252,7 @@ public class ProfileObserver implements EvaluationContext { if (value == null) { map.remove(key); if (map.isEmpty()) - properties.remove(element); + temporaryProperties.remove(element); } else map.put(key, value); }