Stephen McKamey avatar Stephen McKamey committed 80f20bc

fixing Eclipse warnings

Comments (0)

Files changed (5)

duel/duel-compiler/pom.xml

 			<plugin>
 				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-deploy-plugin</artifactId>
-				<version>2.6</version>
 				<configuration>
 					<updateReleaseInfo>true</updateReleaseInfo>
 				</configuration>

duel/duel-compiler/src/main/java/org/duelengine/duel/codegen/CodeDOMBuilder.java

 		CodeVariableDeclarationStatement localVar = CodeDOMUtility.nextID(scope);
 		scope.add(localVar);
 
-		String id = localVar.getName();
-
 		// emit the value of the var
 		CodeStatement emitVar = CodeDOMUtility.emitVarValue(localVar);
 		scope.add(emitVar);

duel/duel-compiler/src/test/java/org/duelengine/duel/parsing/DuelLexerTests.java

 		assertArrayEquals(expected, actual);
 	}
 
-	private void dumpLists(Object[] expected, Object[] actual) {
-
-		for (Object token : expected) {
-			System.out.println(token.toString());
-		}
-
-		for (Object token : actual) {
-			System.err.println(token.toString());
-		}
-	}
+//	private void dumpLists(Object[] expected, Object[] actual) {
+//
+//		for (Object token : expected) {
+//			System.out.println(token.toString());
+//		}
+//
+//		for (Object token : actual) {
+//			System.err.println(token.toString());
+//		}
+//	}
 }

duel/duel-runtime/pom.xml

 			<plugin>
 				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-deploy-plugin</artifactId>
-				<version>2.6</version>
 				<configuration>
 					<updateReleaseInfo>true</updateReleaseInfo>
 				</configuration>

duel/duel-runtime/src/main/java/org/duelengine/duel/rs/DuelController.java

 import java.io.IOException;
 import java.io.OutputStream;
 import java.io.OutputStreamWriter;
-import java.io.Writer;
 import javax.ws.rs.WebApplicationException;
 import javax.ws.rs.core.StreamingOutput;
 import org.duelengine.duel.DuelContext;
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.