Removed some redundant `this` keyword

This commit is contained in:
Cristian Maglie 2017-02-22 16:45:02 +01:00
parent dd17388280
commit 1062307c52
1 changed files with 3 additions and 3 deletions

View File

@ -103,11 +103,11 @@ public class EditorTab extends JPanel implements SketchFile.TextStorage {
this.editor = editor;
this.file = file;
RSyntaxDocument document = createDocument(contents);
this.textarea = createTextArea(document);
this.scrollPane = createScrollPane(this.textarea);
textarea = createTextArea(document);
scrollPane = createScrollPane(textarea);
file.setStorage(this);
applyPreferences();
add(this.scrollPane, BorderLayout.CENTER);
add(scrollPane, BorderLayout.CENTER);
RUndoManager undo = new LastUndoableEditAwareUndoManager(this.textarea, this.editor);
document.addUndoableEditListener(undo);