I'd put spaces here, like this `if (getCurrentFocus() != null)`