From fd9a8fc42ec3328f8f5bce7cda08faceff94fc0c Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 30 Apr 2025 18:21:47 +0200 Subject: mark class parameters as final --- src/com.example.portfolio2/com/example/portfolio2/UI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com.example.portfolio2/com/example/portfolio2/UI.java') diff --git a/src/com.example.portfolio2/com/example/portfolio2/UI.java b/src/com.example.portfolio2/com/example/portfolio2/UI.java index 6f2c1ec..8a71e43 100644 --- a/src/com.example.portfolio2/com/example/portfolio2/UI.java +++ b/src/com.example.portfolio2/com/example/portfolio2/UI.java @@ -31,7 +31,7 @@ public abstract class UI { /// instantiation /// /// @param label text label - private Section(String label) { + private Section(final String label) { this.label = label; } } -- cgit v1.2.3