Less warnings. Changed a priority queue test to check if updating an element and removing it works.

This commit is contained in:
Didier Le Botlan
2025-03-28 09:28:14 +01:00
parent 443539a6ba
commit 375e783c42
5 changed files with 15 additions and 2 deletions

View File

@@ -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));

View File

@@ -37,7 +37,7 @@ public class ThreadWrapper implements RunningAction {
return thread != null && thread.isAlive();
}
@SuppressWarnings("deprecation")
@SuppressWarnings("removal")
@Override
public void interrupt() {
thread.stop();