From: Tuukka Lehtonen Date: Mon, 6 Nov 2017 07:04:40 +0000 (+0200) Subject: Removed unnecessary getPossibleRepresents invocation X-Git-Tag: v1.31.0~55 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=f5c7cf6326985b3027859981d61733486d298d7e;p=simantics%2Fplatform.git Removed unnecessary getPossibleRepresents invocation refs #7525 Change-Id: I78dc128df39f74a7798705a2ebf21b7a5832256b --- diff --git a/bundles/org.simantics.selectionview/src/org/simantics/selectionview/SelectionViewUtils.java b/bundles/org.simantics.selectionview/src/org/simantics/selectionview/SelectionViewUtils.java index a455848d4..14d73f205 100644 --- a/bundles/org.simantics.selectionview/src/org/simantics/selectionview/SelectionViewUtils.java +++ b/bundles/org.simantics.selectionview/src/org/simantics/selectionview/SelectionViewUtils.java @@ -16,7 +16,7 @@ public class SelectionViewUtils { public static Variable getSpecialCategory(ReadGraph graph, Resource rule, Variable info) throws DatabaseException { SelectionViewResources SEL = SelectionViewResources.getInstance(graph); - Resource categoryResource = info.getPossibleRepresents(graph); + //Resource categoryResource = info.getPossibleRepresents(graph); //if(SEL.CategoryHidden.equals(categoryResource)) {