mirror of
https://github.com/processing/processing4.git
synced 2026-01-30 03:41:15 +01:00
clean up warnings
This commit is contained in:
@@ -120,7 +120,7 @@ import com.google.classpath.ClassPathFactory;
|
||||
import com.google.classpath.RegExpResourceFilter;
|
||||
|
||||
|
||||
@SuppressWarnings({ "deprecation", "unchecked" })
|
||||
@SuppressWarnings({ "unchecked" })
|
||||
public class ASTGenerator {
|
||||
protected ErrorCheckerService errorCheckerService;
|
||||
protected JavaEditor editor;
|
||||
@@ -1240,7 +1240,7 @@ public class ASTGenerator {
|
||||
}
|
||||
if (probableClass.isArray() && !staticOnly) {
|
||||
// add array members manually, they can't be fetched through code
|
||||
|
||||
|
||||
String className = probableClass.getSimpleName();
|
||||
|
||||
if (noCompare || "clone()".startsWith(child)) {
|
||||
|
||||
@@ -42,7 +42,6 @@ import javax.swing.JPopupMenu;
|
||||
import javax.swing.JScrollPane;
|
||||
import javax.swing.ListSelectionModel;
|
||||
import javax.swing.Painter;
|
||||
import javax.swing.SwingWorker;
|
||||
import javax.swing.UIDefaults;
|
||||
import javax.swing.UIManager;
|
||||
import javax.swing.plaf.InsetsUIResource;
|
||||
|
||||
@@ -20,7 +20,6 @@ along with this program; if not, write to the Free Software Foundation, Inc.
|
||||
|
||||
package processing.mode.java.pdex;
|
||||
|
||||
import processing.core.PVector;
|
||||
import processing.mode.java.JavaInputHandler;
|
||||
import processing.mode.java.JavaMode;
|
||||
import processing.mode.java.JavaEditor;
|
||||
@@ -34,15 +33,9 @@ import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.BlockingQueue;
|
||||
import java.util.concurrent.ExecutionException;
|
||||
import java.util.concurrent.LinkedBlockingQueue;
|
||||
import java.util.concurrent.atomic.AtomicBoolean;
|
||||
import java.util.concurrent.locks.ReentrantLock;
|
||||
|
||||
import javax.swing.DefaultListModel;
|
||||
import javax.swing.JOptionPane;
|
||||
import javax.swing.SwingUtilities;
|
||||
import javax.swing.SwingWorker;
|
||||
import javax.swing.text.BadLocationException;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user