From: villberg Date: Tue, 21 Oct 2014 08:18:31 +0000 (+0000) Subject: (refs #5417) Variable implementations did not compile after changes removing deprecat... X-Git-Tag: v1.29.0~159 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=5240b8045c43fb31612ffe2ddccc5b01c8c81b8f;p=simantics%2Fsysdyn.git (refs #5417) Variable implementations did not compile after changes removing deprecated stuff git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@30467 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/IndexVariable.java b/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/IndexVariable.java index fa6b38b0..4211a80a 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/IndexVariable.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/IndexVariable.java @@ -298,19 +298,12 @@ public abstract class IndexVariable extends AbstractPropertyVariable { } abstract protected void setIndexedValue(WriteGraph graph, Object value) throws DatabaseException; - - @Override public String getName(ReadGraph graph) throws DatabaseException { return indexes; } - @Override - public Object getSerialized(ReadGraph graph) throws DatabaseException { - return indexes; - } - @Override public Variable getParent(ReadGraph graph) throws DatabaseException { return parent; diff --git a/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/ValueIndexVariableI.java b/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/ValueIndexVariableI.java index baed93ed..229cb172 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/ValueIndexVariableI.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/ValueIndexVariableI.java @@ -45,11 +45,6 @@ public class ValueIndexVariableI extends ValueIndexVariableBase { return "$" + index; } - @Override - public Object getSerialized(ReadGraph graph) throws DatabaseException { - return "$" + index; - } - @Override public Datatype getDatatype(ReadGraph graph) throws DatabaseException { return Datatypes.DOUBLE;