Fixes problem introduced in r1810; removed @SuppressWarnings("unused") from local declaration; apparently this breaks the 1.5 compiler.


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1811 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaAST.java b/dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaAST.java
index 0d63889..5f56942 100644
--- a/dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaAST.java
+++ b/dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaAST.java
@@ -1235,6 +1235,7 @@
       }
     }
 
+    @SuppressWarnings("unused")
     JExpression processExpression(NullLiteral x) {
       return program.getLiteralNull();
     }
@@ -1647,6 +1648,7 @@
       return stmt;
     }
 
+    @SuppressWarnings("unused")
     JStatement processStatement(EmptyStatement x) {
       return null;
     }
@@ -1877,6 +1879,7 @@
           finallyBlock);
     }
 
+    @SuppressWarnings("unused")
     JStatement processStatement(TypeDeclaration x) {
       // do nothing -- the local class is treated at the program level
       return null;
@@ -1908,6 +1911,7 @@
       return jstatements;
     }
 
+    @SuppressWarnings("unused")
     JMethodCall processSuperConstructorCall(ExplicitConstructorCall x) {
       SourceInfo info = makeSourceInfo(x);
       JMethod ctor = (JMethod) typeMap.get(x.binding);
@@ -1938,8 +1942,7 @@
                */
               List<JExpression> workList = new ArrayList<JExpression>();
               Iterator<JParameter> paramIt = getSyntheticsIterator(currentMethod);
-              for (@SuppressWarnings("unused")
-              ReferenceBinding b : myBinding.syntheticEnclosingInstanceTypes()) {
+              for (ReferenceBinding b : myBinding.syntheticEnclosingInstanceTypes()) {
                 workList.add(createVariableRef(info, paramIt.next()));
               }
               call.getArgs().add(createThisRef(classType, workList));
@@ -2651,6 +2654,7 @@
     compResult.record(problem, methodDeclaration);
   }
 
+  @SuppressWarnings("unused")
   public static SourceInfo translateInfo(JsSourceInfo info) {
     // TODO implement this
     return null;