From ccc7352fe3335532131946f1b7079894719c499e Mon Sep 17 00:00:00 2001 From: jkauttio Date: Wed, 30 Apr 2014 12:08:28 +0000 Subject: [PATCH] Remove a duplicate class name from ModelicaWriter fixes #4852 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29400 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../src/org/simantics/sysdyn/modelica/ModelicaWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.simantics.sysdyn/src/org/simantics/sysdyn/modelica/ModelicaWriter.java b/org.simantics.sysdyn/src/org/simantics/sysdyn/modelica/ModelicaWriter.java index 1b191676..e0e64be4 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/modelica/ModelicaWriter.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/modelica/ModelicaWriter.java @@ -248,7 +248,7 @@ public class ModelicaWriter { String className = mt != null ? (mt.getName().replace(" ", "")) : null; if(className != null) - b.append("class "+className+"\n").append(className); + b.append("class "+className+"\n"); // Add spreadsheets to all modules and model. Model is "inner" and modules "outer" String globalStatus = mt != null ? "outer" : "inner"; -- 2.47.1