diff options
author | Jonas Smedegaard <dr@jones.dk> | 2025-04-29 06:03:56 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2025-04-29 06:11:41 +0200 |
commit | a5c3599d7bc7a9ef5583ad2d50a55975f030fbea (patch) | |
tree | db4ed74e48997d4b4450148116a9c990978a1641 /src/com.example.portfolio2/com/example/portfolio2/Window.java | |
parent | 03d2d06e8f5bfadd79912efb94e8931e54296735 (diff) |
declare variables final when possible
Diffstat (limited to 'src/com.example.portfolio2/com/example/portfolio2/Window.java')
-rw-r--r-- | src/com.example.portfolio2/com/example/portfolio2/Window.java | 6 |
1 files changed, 3 insertions, 3 deletions
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<>(); |