get rid of warnings for (currently) unused variables

This commit is contained in:
Ben Fry
2016-05-08 14:05:21 -04:00
parent 6bb94f6a96
commit 6f0b8ce04d
2 changed files with 4 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ public class ImportStatement {
private static final String importKw = "import";
private static final String staticKw = "static";
private boolean isClass;
// private boolean isClass;
private boolean isStarred;
private boolean isStatic;
@@ -64,7 +64,7 @@ public class ImportStatement {
int lastDot = cls.lastIndexOf('.');
is.className = lastDot >= 0 ? cls.substring(lastDot+1) : cls;
is.packageName = lastDot >= 0 ? cls.substring(0, lastDot) : "";
is.isClass = true;
// is.isClass = true;
return is;
}

View File

@@ -203,7 +203,7 @@ public class PDEX {
final JTree tree;
final JavaEditor editor;
final PreprocessingService pps;
// final PreprocessingService pps;
final Consumer<PreprocessedSketch> reloadListener;
@@ -212,7 +212,7 @@ public class PDEX {
ShowUsage(JavaEditor editor, PreprocessingService pps) {
this.editor = editor;
this.pps = pps;
// this.pps = pps;
reloadListener = this::reloadShowUsage;