Skip to content

Commit 2a5d78c

Browse files
Fixed Indent Problem
1 parent 68e3331 commit 2a5d78c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/simplejavatexteditor/UI.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -273,11 +273,11 @@ else if(e.getSource() == saveFile || e.getSource() == saveButton) {
273273
// Close the file stream
274274
out.close();
275275

276-
if(file.getName().endsWith(".java")) {
277-
//setup Autocomplete for Java keywords
278-
JavaAutoComplete autocomplete = new JavaAutoComplete(this);
279-
textArea.getDocument().addDocumentListener(autocomplete);
280-
}
276+
if(file.getName().endsWith(".java")) {
277+
//setup Autocomplete for Java keywords
278+
JavaAutoComplete autocomplete = new JavaAutoComplete(this);
279+
textArea.getDocument().addDocumentListener(autocomplete);
280+
}
281281

282282
} catch (Exception ex) { // again, catch any exceptions and...
283283
// ...write to the debug console
@@ -305,4 +305,4 @@ else if(e.getSource() == aboutSoftware || e.getSource() == aboutButton) {
305305
}
306306

307307
}
308-
}
308+
}

0 commit comments

Comments
 (0)