Skip to content
Snippets Groups Projects
Commit 7a436b3b authored by Daniel Schramm's avatar Daniel Schramm
Browse files

Private and final modifiers added to class attribute

parent d9a5ca5f
No related branches found
No related tags found
No related merge requests found
...@@ -558,7 +558,7 @@ public class ControlPanelBuilder { ...@@ -558,7 +558,7 @@ public class ControlPanelBuilder {
} }
minusButton.addActionListener(new AbstractAction() { minusButton.addActionListener(new AbstractAction() {
double minimum = range == null ? PERCENTAGE_VALUE_MINIMUM : range.getMinimum(); private final double minimum = range == null ? PERCENTAGE_VALUE_MINIMUM : range.getMinimum();
@Override @Override
public void actionPerformed(ActionEvent ae) { public void actionPerformed(ActionEvent ae) {
...@@ -577,7 +577,7 @@ public class ControlPanelBuilder { ...@@ -577,7 +577,7 @@ public class ControlPanelBuilder {
} }
}); });
plusButton.addActionListener(new AbstractAction() { plusButton.addActionListener(new AbstractAction() {
double maximum = range == null ? PERCENTAGE_VALUE_MAXIMUM : range.getMaximum(); private final double maximum = range == null ? PERCENTAGE_VALUE_MAXIMUM : range.getMaximum();
@Override @Override
public void actionPerformed(ActionEvent ae) { public void actionPerformed(ActionEvent ae) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment