From 6893df75966fc6623a4ad2f8e3a78f5b194482ef Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 30 Apr 2025 18:27:32 +0200 Subject: drop redundant public/private modifiers --- src/com.example.portfolio2/com/example/portfolio2/GUI.java | 2 +- src/com.example.portfolio2/com/example/portfolio2/UI.java | 2 +- src/com.example.portfolio2/com/example/portfolio2/Window.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/com.example.portfolio2/com/example/portfolio2/GUI.java b/src/com.example.portfolio2/com/example/portfolio2/GUI.java index 95df60c..daf680e 100644 --- a/src/com.example.portfolio2/com/example/portfolio2/GUI.java +++ b/src/com.example.portfolio2/com/example/portfolio2/GUI.java @@ -35,7 +35,7 @@ public class GUI extends UI { /// /// @param label text label /// @param column column position - private Section(final String label, final int column) { + Section(final String label, final int column) { this.label = label; this.column = column; } diff --git a/src/com.example.portfolio2/com/example/portfolio2/UI.java b/src/com.example.portfolio2/com/example/portfolio2/UI.java index 8a71e43..65450af 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(final String label) { + Section(final String label) { this.label = label; } } diff --git a/src/com.example.portfolio2/com/example/portfolio2/Window.java b/src/com.example.portfolio2/com/example/portfolio2/Window.java index ba4ee86..6fa2ce7 100644 --- a/src/com.example.portfolio2/com/example/portfolio2/Window.java +++ b/src/com.example.portfolio2/com/example/portfolio2/Window.java @@ -193,7 +193,7 @@ public final class Window extends Application { /// column of activities /// /// @param section structural section for column - public ActivityColumn(final GUI.Section section) { + ActivityColumn(final GUI.Section section) { this( section, new Label(section.label), -- cgit v1.2.3