changeset 17222:fa7dc2f64c25

Allow unused imports in MatchStatementSets (as imports just taken from the originating class)
author Stefan Anzinger <stefan.anzinger@oracle.com>
date Thu, 25 Sep 2014 20:01:27 -0700
parents 05884c6f6b15
children 5b8f316bdb9e
files graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/match/MatchProcessor.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/match/MatchProcessor.java	Thu Sep 25 19:47:03 2014 -0700
+++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/match/MatchProcessor.java	Thu Sep 25 20:01:27 2014 -0700
@@ -498,6 +498,7 @@
                 out.println("import " + p + ".*;");
             }
             out.println("");
+            out.println("@SuppressWarnings(\"unused\")");
             out.println("public class " + matchStatementClassName + " implements " + MatchStatementSet.class.getSimpleName() + " {");
 
             out.println();