1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-28 09:24:14 +01:00

Removed unused imports

This commit is contained in:
Cristian Maglie 2021-05-19 12:15:37 +02:00
parent 07b0b4077f
commit c4109e78bc
3 changed files with 9 additions and 14 deletions

View File

@ -80,8 +80,6 @@ import javax.swing.TransferHandler;
import javax.swing.event.MenuEvent;
import javax.swing.event.MenuListener;
import javax.swing.text.BadLocationException;
import javax.swing.text.Document;
import javax.swing.text.Element;
import org.fife.ui.rsyntaxtextarea.folding.FoldManager;
@ -97,7 +95,6 @@ import cc.arduino.view.StubMenuListener;
import cc.arduino.view.findreplace.FindReplace;
import jssc.SerialPortException;
import processing.app.debug.RunnerException;
import processing.app.debug.TargetBoard;
import processing.app.forms.PasswordAuthorizationDialog;
import processing.app.helpers.DocumentTextChangeListener;
import processing.app.helpers.Keys;

View File

@ -29,17 +29,15 @@
package processing.app;
import cc.arduino.files.DeleteFilesOnShutdown;
import javax.swing.JPopupMenu;
import org.fest.swing.edt.FailOnThreadViolationRepaintManager;
import org.fest.swing.edt.GuiActionRunner;
import org.fest.swing.edt.GuiQuery;
import org.junit.After;
import org.junit.Before;
import processing.app.helpers.ArduinoFrameFixture;
import processing.app.helpers.FileUtils;
import javax.swing.*;
import java.util.Random;
import processing.app.helpers.ArduinoFrameFixture;
public abstract class AbstractGUITest extends AbstractWithPreferencesTest {

View File

@ -29,19 +29,19 @@
package processing.app;
import static org.junit.Assert.assertEquals;
import static processing.app.I18n.tr;
import java.awt.event.KeyEvent;
import org.fest.swing.core.KeyPressInfo;
import org.fest.swing.core.matcher.DialogMatcher;
import org.fest.swing.finder.WindowFinder;
import org.fest.swing.fixture.DialogFixture;
import org.junit.Test;
import processing.app.helpers.SketchTextAreaFixture;
import javax.swing.*;
import java.awt.event.KeyEvent;
import static org.junit.Assert.assertEquals;
import static processing.app.I18n.tr;
public class HittingEscapeOnCloseConfirmationDialogTest extends AbstractGUITest {
@Test