Skip to content

Commit 90522aa

Browse files
committed
deal with a handful of warnings
1 parent 4c09c90 commit 90522aa

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

app/src/processing/app/contrib/UpdateListPanel.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import java.awt.Color;
44
import java.awt.Component;
5-
import java.awt.EventQueue;
65
import java.awt.Font;
76
import java.util.Arrays;
87
import java.util.Comparator;

core/src/processing/javafx/PGraphicsFX2D.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
import javafx.scene.image.WritableImage;
4242
import javafx.scene.image.WritablePixelFormat;
4343
import javafx.scene.paint.Color;
44-
import javafx.scene.paint.Paint;
4544
import javafx.scene.shape.ArcType;
4645
import javafx.scene.shape.StrokeLineCap;
4746
import javafx.scene.shape.StrokeLineJoin;

core/src/processing/javafx/PSurfaceFX.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,9 @@ protected void fxMouseEvent(MouseEvent fxEvent) {
874874
case MIDDLE:
875875
button = PConstants.CENTER;
876876
break;
877+
case NONE:
878+
// not currently handled
879+
break;
877880
}
878881

879882
// If running on Mac OS, allow ctrl-click as right mouse.

java/src/processing/mode/java/JavaMode.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ public void run() {
207207
}
208208

209209

210+
/*
210211
// TODO Why is this necessary? Why isn't Sketch.isModified() used?
211212
static private boolean isSketchModified(Sketch sketch) {
212213
for (SketchCode sc : sketch.getCode()) {
@@ -216,6 +217,7 @@ static private boolean isSketchModified(Sketch sketch) {
216217
}
217218
return false;
218219
}
220+
*/
219221

220222

221223
// public void handleStop() {

0 commit comments

Comments
 (0)