From da6eaa19415d28001d386fd321efa28901d51e1c Mon Sep 17 00:00:00 2001 From: lempinen Date: Wed, 5 Dec 2012 13:34:43 +0000 Subject: [PATCH] Removed forgotten debug prints (refs #3708) git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26507 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../org/simantics/sysdyn/ui/browser/nodes/EnumerationNode.java | 3 --- .../src/org/simantics/sysdyn/ui/properties/EquationTab.java | 2 -- 2 files changed, 5 deletions(-) diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/browser/nodes/EnumerationNode.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/browser/nodes/EnumerationNode.java index 2c104fc3..beaf98a3 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/browser/nodes/EnumerationNode.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/browser/nodes/EnumerationNode.java @@ -7,7 +7,6 @@ import org.simantics.db.WriteGraph; import org.simantics.db.common.request.ObjectsWithType; import org.simantics.db.common.request.WriteRequest; import org.simantics.db.common.utils.ListUtils; -import org.simantics.db.common.utils.NameUtils; import org.simantics.db.exception.CancelTransactionException; import org.simantics.db.exception.DatabaseException; import org.simantics.db.layer0.util.RemoverUtil; @@ -44,9 +43,7 @@ public class EnumerationNode extends VariableNode implements IDeletabl Layer0 L0 = Layer0.getInstance(graph); Resource conf = graph.getPossibleObject(data, L0.PartOf); - System.out.println(NameUtils.getSafeName(graph, conf, true)); for(Resource var : graph.syncRequest(new ObjectsWithType(conf, L0.ConsistsOf, sr.Variable))) { - System.out.println(NameUtils.getSafeName(graph, var, true)); Resource arrayIndexes = graph.getPossibleObject(var, sr.Variable_arrayIndexesList); if(arrayIndexes != null) { if(ListUtils.getNode(graph, arrayIndexes, data) != null) { diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/EquationTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/EquationTab.java index ebda5b9c..2fde9843 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/EquationTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/EquationTab.java @@ -715,9 +715,7 @@ public class EquationTab extends LabelPropertyTabContributor implements Widget { */ private Resource getActiveExpression(ReadGraph graph, Resource variable) throws DatabaseException { SysdynResource sr = SysdynResource.getInstance(graph); - System.out.println("Active expression for " + NameUtils.getSafeName(graph, variable)); Resource expression = graph.getPossibleObject(variable, sr.IndependentVariable_activeExpression); - System.out.println(" " + NameUtils.getSafeName(graph, expression)); if(expression == null) { Resource expressions = graph.getPossibleObject(variable, sr.Variable_expressionList); if(expressions == null) { -- 2.47.1