1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-02-17 11:54:33 +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.MenuEvent;
import javax.swing.event.MenuListener; import javax.swing.event.MenuListener;
import javax.swing.text.BadLocationException; import javax.swing.text.BadLocationException;
import javax.swing.text.Document;
import javax.swing.text.Element;
import org.fife.ui.rsyntaxtextarea.folding.FoldManager; import org.fife.ui.rsyntaxtextarea.folding.FoldManager;
@ -97,7 +95,6 @@ import cc.arduino.view.StubMenuListener;
import cc.arduino.view.findreplace.FindReplace; import cc.arduino.view.findreplace.FindReplace;
import jssc.SerialPortException; import jssc.SerialPortException;
import processing.app.debug.RunnerException; import processing.app.debug.RunnerException;
import processing.app.debug.TargetBoard;
import processing.app.forms.PasswordAuthorizationDialog; import processing.app.forms.PasswordAuthorizationDialog;
import processing.app.helpers.DocumentTextChangeListener; import processing.app.helpers.DocumentTextChangeListener;
import processing.app.helpers.Keys; import processing.app.helpers.Keys;

View File

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

View File

@ -29,19 +29,19 @@
package processing.app; 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.KeyPressInfo;
import org.fest.swing.core.matcher.DialogMatcher; import org.fest.swing.core.matcher.DialogMatcher;
import org.fest.swing.finder.WindowFinder; import org.fest.swing.finder.WindowFinder;
import org.fest.swing.fixture.DialogFixture; import org.fest.swing.fixture.DialogFixture;
import org.junit.Test; import org.junit.Test;
import processing.app.helpers.SketchTextAreaFixture; 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 { public class HittingEscapeOnCloseConfirmationDialogTest extends AbstractGUITest {
@Test @Test