From: lehtonen Date: Mon, 7 May 2012 08:51:56 +0000 (+0000) Subject: Fixed a few hundred pointless warnings coming from all over the Simantics codebase. X-Git-Tag: simantics-1.6~6^2~15 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=301d00fa044b8ef87343c027b2e039652d254484;p=simantics%2Fsysdyn.git Fixed a few hundred pointless warnings coming from all over the Simantics codebase. There's still a lot left. refs #3363 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24878 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/participant/SysdynComponentCopyAdvisor.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/participant/SysdynComponentCopyAdvisor.java index 76226ebf..62672a39 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/participant/SysdynComponentCopyAdvisor.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/participant/SysdynComponentCopyAdvisor.java @@ -16,7 +16,6 @@ import org.simantics.db.ReadGraph; import org.simantics.db.Resource; import org.simantics.db.Statement; import org.simantics.db.WriteGraph; -import org.simantics.db.common.request.PossibleTypedParent; import org.simantics.db.common.utils.NameUtils; import org.simantics.db.exception.DatabaseException; import org.simantics.diagram.synchronization.ISynchronizationContext; @@ -24,7 +23,6 @@ import org.simantics.diagram.synchronization.graph.CopyAdvisorUtil; import org.simantics.layer0.Layer0; import org.simantics.modeling.ComponentUtils; import org.simantics.modeling.mapping.ComponentCopyAdvisor; -import org.simantics.simulation.ontology.SimulationResource; import org.simantics.structural.stubs.StructuralResource2; import org.simantics.utils.datastructures.BinaryFunction; diff --git a/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/RunVariable.java b/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/RunVariable.java index fe81e47f..ed4931d7 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/RunVariable.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/RunVariable.java @@ -11,7 +11,6 @@ *******************************************************************************/ package org.simantics.sysdyn.adapter; -import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.Map; diff --git a/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/RunVariableAdapter.java b/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/RunVariableAdapter.java index 64529ca9..f2335f5a 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/RunVariableAdapter.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/RunVariableAdapter.java @@ -16,7 +16,6 @@ import org.simantics.db.Resource; import org.simantics.db.common.adaption.SimpleContextualAdapter; import org.simantics.db.exception.DatabaseException; import org.simantics.db.layer0.variable.Variable; -import org.simantics.sysdyn.SysdynResource; public class RunVariableAdapter extends SimpleContextualAdapter{ diff --git a/org.simantics.sysdyn/src/org/simantics/sysdyn/expressionParser/ExpressionParser.java b/org.simantics.sysdyn/src/org/simantics/sysdyn/expressionParser/ExpressionParser.java index ed200ece..0a4682b7 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/expressionParser/ExpressionParser.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/expressionParser/ExpressionParser.java @@ -1,8 +1,6 @@ /* Generated By:JavaCC: Do not edit this line. ExpressionParser.java */ package org.simantics.sysdyn.expressionParser; -import java.util.Set; -import java.util.HashSet; import java.util.List; import java.util.ArrayList; import java.util.HashMap; diff --git a/org.simantics.sysdyn/src/org/simantics/sysdyn/expressionParser/ExpressionParserTokenManager.java b/org.simantics.sysdyn/src/org/simantics/sysdyn/expressionParser/ExpressionParserTokenManager.java index 7c7a5cfc..c32723e2 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/expressionParser/ExpressionParserTokenManager.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/expressionParser/ExpressionParserTokenManager.java @@ -1,10 +1,5 @@ /* Generated By:JavaCC: Do not edit this line. ExpressionParserTokenManager.java */ package org.simantics.sysdyn.expressionParser; -import java.util.Set; -import java.util.HashSet; -import java.util.List; -import java.util.ArrayList; -import java.util.HashMap; /** Token Manager. */ public class ExpressionParserTokenManager implements ExpressionParserConstants diff --git a/org.simantics.sysdyn/src/org/simantics/sysdyn/tableParser/TableParserTokenManager.java b/org.simantics.sysdyn/src/org/simantics/sysdyn/tableParser/TableParserTokenManager.java index 3883fff9..3de87d4f 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/tableParser/TableParserTokenManager.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/tableParser/TableParserTokenManager.java @@ -1,6 +1,5 @@ /* Generated By:JavaCC: Do not edit this line. TableParserTokenManager.java */ package org.simantics.sysdyn.tableParser; -import java.util.ArrayList; /** Token Manager. */ public class TableParserTokenManager implements TableParserConstants