warnings cleanup

This commit is contained in:
Ben Fry
2015-09-15 10:47:18 -04:00
parent 925ac2307d
commit d10c37c430
2 changed files with 2 additions and 4 deletions

View File

@@ -829,7 +829,7 @@ public class ErrorCheckerService implements Runnable {
// log("1..");
classpathJars = new ArrayList<URL>();
String entry = "";
boolean codeFolderChecked = false;
// boolean codeFolderChecked = false;
for (ImportStatement impstat : programImports) {
String item = impstat.getImportName();
int dot = item.lastIndexOf('.');
@@ -865,7 +865,7 @@ public class ErrorCheckerService implements Runnable {
// get a list of .jar files in the "code" folder
// (class files in subfolders should also be picked up)
String codeFolderClassPath = Util.contentsToClassPath(codeFolder);
codeFolderChecked = true;
// codeFolderChecked = true;
// huh? doesn't this mean .length() == 0? [fry]
if (!codeFolderClassPath.equalsIgnoreCase("")) {
Messages.log("Sketch has a code folder. Adding its jars");

View File

@@ -20,7 +20,6 @@
package processing.mode.java.pdex;
import java.io.File;
import java.util.List;
import java.util.Map;
@@ -39,7 +38,6 @@ import org.eclipse.jface.text.Document;
import org.eclipse.text.edits.MalformedTreeException;
import org.eclipse.text.edits.TextEdit;
import processing.app.Messages;
import processing.app.Util;
import processing.data.StringList;
import processing.mode.java.preproc.PdePreprocessor;