From a5c3599d7bc7a9ef5583ad2d50a55975f030fbea Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 29 Apr 2025 06:03:56 +0200 Subject: declare variables final when possible --- src/com.example.portfolio2/com/example/portfolio2/Window.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/com.example.portfolio2/com/example/portfolio2/Window.java') diff --git a/src/com.example.portfolio2/com/example/portfolio2/Window.java b/src/com.example.portfolio2/com/example/portfolio2/Window.java index 3dccc42..cb856f9 100644 --- a/src/com.example.portfolio2/com/example/portfolio2/Window.java +++ b/src/com.example.portfolio2/com/example/portfolio2/Window.java @@ -37,7 +37,7 @@ public final class Window extends Application { private Controller con = new Controller(store,this); @Override - public void start(Stage stage) throws IOException { + public void start(final Stage stage) throws IOException { // clear old insertions into participation table con.initialize(); @@ -111,7 +111,7 @@ public final class Window extends Application { /// JVM entry point /// /// @param args command-line arguments - public static void main(String[] args) { + public static void main(final String[] args) { launch(); } @@ -139,7 +139,7 @@ public final class Window extends Application { /// column of activities /// /// @param name identifier - ActivityColumn(String name) { + ActivityColumn(final String name) { this.name = name; nameLabel = new Label(name); categoryCombo = new ComboBox<>(); -- cgit v1.2.3