Less warnings. Changed a priority queue test to check if updating an element and removing it works.
This commit is contained in:
@@ -107,6 +107,7 @@ public class PathsPanel extends JPanel
|
||||
* @param path Path for this bundle, must not be null.
|
||||
* @throws IOException If a resource was not found.
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
public PathPanel(Path path, Color color) throws IOException {
|
||||
super();
|
||||
setLayout(new BoxLayout(this, BoxLayout.LINE_AXIS));
|
||||
|
@@ -37,7 +37,7 @@ public class ThreadWrapper implements RunningAction {
|
||||
return thread != null && thread.isAlive();
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
@SuppressWarnings("removal")
|
||||
@Override
|
||||
public void interrupt() {
|
||||
thread.stop();
|
||||
|
Reference in New Issue
Block a user