]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/expressions/ERealLiteral.java
(refs #7375) Replaced collectVars method by a visitor
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / elaboration / expressions / ERealLiteral.java
index 8c861004cadbd2cb88fbddd1bacab331d311534d..90cc94bef87437deeb4869dfb87bd7781838690f 100644 (file)
@@ -15,9 +15,6 @@ import org.simantics.scl.compiler.types.Type;
 import org.simantics.scl.compiler.types.Types;
 import org.simantics.scl.compiler.types.exceptions.MatchException;
 
-import gnu.trove.map.hash.TObjectIntHashMap;
-import gnu.trove.set.hash.TIntHashSet;
-
 public class ERealLiteral extends SimplifiableExpression {
     public String value;
     public EVariable constraint;
@@ -26,11 +23,6 @@ public class ERealLiteral extends SimplifiableExpression {
         this.value = value;
     }
 
-    @Override
-    public void collectVars(TObjectIntHashMap<Variable> allVars,
-            TIntHashSet vars) {
-    }
-
     private Expression tryToConvertToPrimitive(ErrorLog errorLog, Type requiredType) {
         if(requiredType.equals(Types.DOUBLE))
             return new ELiteral(new DoubleConstant(Double.parseDouble(value)));