mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
warnings cleanup
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user