Merged if-statements.

This commit is contained in:
jellemdekker
2020-04-24 15:23:08 +02:00
parent 96990788d9
commit f6c834fee2

View File

@@ -102,8 +102,7 @@ public class SecurePasswordField extends TextField {
private void handleKeyEvent(KeyEvent e) {
if (e.getCode() == KeyCode.CAPS) {
updateCapsLocked();
}
if (SHORTCUT_BACKSPACE.match(e)) {
} else if (SHORTCUT_BACKSPACE.match(e)) {
swipe();
}
}