Simplify conditional branch

Checking `editor.tabs.expand` is done just before the block,
so this condition is always met.
This commit is contained in:
tyfkda
2016-07-30 07:47:25 +09:00
parent 80be563f8d
commit 2c1ffd436b

View File

@@ -160,7 +160,7 @@ public class JavaInputHandler extends PdeInputHandler {
textarea.setSelectedText(spaces(tabSize));
event.consume();
} else if (!Preferences.getBoolean("editor.tabs.expand")) {
} else { // !Preferences.getBoolean("editor.tabs.expand")
textarea.setSelectedText("\t");
event.consume();
}