# HG changeset patch # User Stefan Anzinger # Date 1411700487 25200 # Node ID fa7dc2f64c25fc33353b16dfdc8864d1b868a6f1 # Parent 05884c6f6b156027f91f9354ae81eed823ae41c1 Allow unused imports in MatchStatementSets (as imports just taken from the originating class) diff -r 05884c6f6b15 -r fa7dc2f64c25 graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/match/MatchProcessor.java --- 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();