deal with a handful of warnings

This commit is contained in:
Ben Fry
2017-01-29 10:57:44 -05:00
parent cacac6fa90
commit 022c27633c
4 changed files with 5 additions and 2 deletions
@@ -2,7 +2,6 @@ package processing.app.contrib;
import java.awt.Color;
import java.awt.Component;
import java.awt.EventQueue;
import java.awt.Font;
import java.util.Arrays;
import java.util.Comparator;
@@ -41,7 +41,6 @@ import javafx.scene.image.PixelWriter;
import javafx.scene.image.WritableImage;
import javafx.scene.image.WritablePixelFormat;
import javafx.scene.paint.Color;
import javafx.scene.paint.Paint;
import javafx.scene.shape.ArcType;
import javafx.scene.shape.StrokeLineCap;
import javafx.scene.shape.StrokeLineJoin;
@@ -874,6 +874,9 @@ public class PSurfaceFX implements PSurface {
case MIDDLE:
button = PConstants.CENTER;
break;
case NONE:
// not currently handled
break;
}
// If running on Mac OS, allow ctrl-click as right mouse.
@@ -207,6 +207,7 @@ public class JavaMode extends Mode {
}
/*
// TODO Why is this necessary? Why isn't Sketch.isModified() used?
static private boolean isSketchModified(Sketch sketch) {
for (SketchCode sc : sketch.getCode()) {
@@ -216,6 +217,7 @@ public class JavaMode extends Mode {
}
return false;
}
*/
// public void handleStop() {