make fields final where possible

This commit is contained in:
honfika@gmail.com
2016-04-18 17:13:46 +02:00
parent eef3ade75e
commit 0e9f8ec9aa
7 changed files with 14 additions and 14 deletions

View File

@@ -31,7 +31,7 @@ import javax.swing.JScrollPane;
*/
public class DocsPanel extends JPanel implements DocsListener {
private JEditorPane textDisplay = new JEditorPane();
private final JEditorPane textDisplay = new JEditorPane();
public DocsPanel() {
setLayout(new BorderLayout(0, 0));