From ebcab443ea5661cba51d827cce5b803e86a5a907 Mon Sep 17 00:00:00 2001
From: Daniel Schramm <xschramm@fi.muni.cz>
Date: Tue, 14 Sep 2021 13:46:47 +0200
Subject: [PATCH] Minor corrections of javadoc and code style

---
 .../cz/fidentis/analyst/core/ControlPanelBuilder.java  | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/GUI/src/main/java/cz/fidentis/analyst/core/ControlPanelBuilder.java b/GUI/src/main/java/cz/fidentis/analyst/core/ControlPanelBuilder.java
index 5abef3e7..cb424ebb 100644
--- a/GUI/src/main/java/cz/fidentis/analyst/core/ControlPanelBuilder.java
+++ b/GUI/src/main/java/cz/fidentis/analyst/core/ControlPanelBuilder.java
@@ -34,7 +34,7 @@ import javax.swing.text.NumberFormatter;
  */
 public class ControlPanelBuilder {
     
-    public static final Font CAPTION_FONT= new Font("Arial", 1, 18);
+    public static final Font CAPTION_FONT = new Font("Arial", 1, 18);
     public static final Insets CAPTION_PADDING = new Insets(20, 0, 20, 0);  // top, left, bottom, right
     public static final ImageIcon HELP_ICON = new ImageIcon(ControlPanelBuilder.class.getResource("/info.png"));
     public static final Font OPTION_TEXT_FONT = new Font("Arial", 1, 14);
@@ -146,7 +146,7 @@ public class ControlPanelBuilder {
      * @param helpAction Action listener invoked when the help icon is clicked. If {@code null}, then no help is shown.
      * @param text Option text.
      * @param sliderMax Max value of the slider (and the value field). If {@code -1}, then percentage slider is shown with 100 as the max. value.
-     * @param helpAction Action listener invoked when the input field is changed
+     * @param inputAction Action listener invoked when the input field is changed
      * @return Creates slider
      */
     public JTextField addSliderOptionLine(ActionListener helpAction, String text, int sliderMax, ActionListener inputAction) {
@@ -307,7 +307,7 @@ public class ControlPanelBuilder {
      * Adds a check box.
      * 
      * @param selected Initial state
-     * @param actions Action listener invoked when the checkbox is clicked.
+     * @param action Action listener invoked when the checkbox is clicked.
      * @return This builder
      */
     public JCheckBox addCheckBox(boolean selected, ActionListener action) {
@@ -330,7 +330,7 @@ public class ControlPanelBuilder {
     /**
      * Adds a help icon.
      * 
-     * @param actions Action listener invoked when the icon is clicked.
+     * @param action Action listener invoked when the icon is clicked.
      * @return This builder
      */
     public JButton addOptionHelpIcon(ActionListener action) {
@@ -428,5 +428,5 @@ public class ControlPanelBuilder {
         
         return slider;
     }
-    
+
 }
-- 
GitLab