]> gerrit.simantics Code Review - simantics/r.git/commitdiff
Fixed warnings.
authorlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Wed, 7 Sep 2016 20:54:40 +0000 (20:54 +0000)
committerlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Wed, 7 Sep 2016 20:54:40 +0000 (20:54 +0000)
refs #6653

git-svn-id: https://www.simantics.org/svn/simantics/r/trunk@33179 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.r.fileimport/build.properties
org.simantics.r/src/org/simantics/r/RModelUtils.java

index 7d2a7a858107cb2ec57643918efee696627c07e3..4ab6e26388705bd1fde8200b50d9983ba6e89b91 100644 (file)
@@ -1,5 +1,5 @@
 output.. = bin/\r
 bin.includes = META-INF/,\\r
                .,\\r
-               OSGI-INF/component.xml\r
+               OSGI-INF/\r
 source.. = src/\r
index 0bf6ccfe151e072530628ef876f59739e589ec83..16579446f23da4be3bc1b07041756ca1f80c8d2c 100644 (file)
@@ -4,7 +4,6 @@ import java.io.BufferedReader;
 import java.io.IOException;\r
 import java.nio.file.Files;\r
 import java.nio.file.Path;\r
-import java.util.Optional;\r
 \r
 import org.simantics.Simantics;\r
 import org.simantics.db.Resource;\r
@@ -18,6 +17,7 @@ public class RModelUtils {
 \r
     private static Resource createModel(WriteGraph graph, Resource type, Resource target, String name, String sclMainContents) throws DatabaseException {\r
         Resource model = ModelingUtils.createModel(graph, type, target, name);\r
+        @SuppressWarnings("unused")\r
         Resource conf = graph.syncRequest(new Configuration(model));\r
 \r
         ModelingUtils.addSCLMainToModel(graph, model, "SCLMain", sclMainContents);\r