Code cleanup (#1461)

* Code cleanup

* Fix flux tests

* Fix checkstyle errors

* Fix compile error
This commit is contained in:
Ilkka Seppälä
2020-07-30 20:28:47 +03:00
committed by GitHub
parent 5381387026
commit 417f21ed3d
243 changed files with 1154 additions and 1162 deletions

View File

@ -48,37 +48,37 @@ public class FileSelectorJFrame extends JFrame implements FileSelectorView, Acti
/**
* The "OK" button for loading the file.
*/
private JButton ok;
private final JButton ok;
/**
* The cancel button.
*/
private JButton cancel;
private final JButton cancel;
/**
* The information label.
*/
private JLabel info;
private final JLabel info;
/**
* The contents label.
*/
private JLabel contents;
private final JLabel contents;
/**
* The text field for giving the name of the file that we want to open.
*/
private JTextField input;
private final JTextField input;
/**
* A text area that will keep the contents of the file opened.
*/
private JTextArea area;
private final JTextArea area;
/**
* The panel that will hold our widgets.
*/
private JPanel panel;
private final JPanel panel;
/**
* The Presenter component that the frame will interact with.

View File

@ -41,7 +41,7 @@ public class FileSelectorPresenter implements Serializable {
/**
* The View component that the presenter interacts with.
*/
private FileSelectorView view;
private final FileSelectorView view;
/**
* The Model component that the presenter interacts with.