mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-31 20:52:13 +01:00
fixed some warnings
This commit is contained in:
parent
d19ee30be8
commit
00641691b6
@ -1,7 +1,6 @@
|
||||
package processing.app;
|
||||
|
||||
import cc.arduino.packages.BoardPort;
|
||||
import cc.arduino.packages.DiscoveryManager;
|
||||
import processing.app.legacy.PApplet;
|
||||
|
||||
import javax.swing.*;
|
||||
@ -10,7 +9,6 @@ import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
import java.awt.event.WindowAdapter;
|
||||
import java.awt.event.WindowEvent;
|
||||
import java.util.List;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public abstract class AbstractMonitor extends JFrame implements ActionListener {
|
||||
@ -85,7 +83,7 @@ public abstract class AbstractMonitor extends JFrame implements ActionListener {
|
||||
suspend();
|
||||
}
|
||||
} else {
|
||||
if (closed && (Editor.isUploading() == false)) {
|
||||
if (closed && !Editor.isUploading()) {
|
||||
resume(boardPort);
|
||||
}
|
||||
}
|
||||
|
@ -23,7 +23,6 @@ import processing.app.legacy.PApplet;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
import java.awt.event.KeyAdapter;
|
||||
import java.awt.event.KeyEvent;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user