Skip to content

Commit 292d383

Browse files
committed
fix static analysis hints provided by IntelliJ
1 parent 79a81f1 commit 292d383

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/main/java/org/openstreetmap/josm/plugins/scripting/ui/RunScriptAction.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66

77
import java.awt.event.ActionEvent;
88
import java.awt.event.KeyEvent;
9+
import java.io.Serial;
910

1011
import static org.openstreetmap.josm.tools.I18n.tr;
1112

1213
public class RunScriptAction extends JosmAction {
14+
@Serial
1315
private static final long serialVersionUID = 1L;
1416

1517
public RunScriptAction() {

src/main/java/org/openstreetmap/josm/plugins/scripting/ui/ScriptErrorViewerModel.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import java.beans.PropertyChangeListener;
66
import java.beans.PropertyChangeSupport;
77

8+
@SuppressWarnings("unused")
89
public class ScriptErrorViewerModel {
910
/**
1011
* The name of the error property

0 commit comments

Comments
 (0)