push: cleanup - reformat

This commit is contained in:
Nadya Zabrodina
2017-12-20 16:55:13 +03:00
parent 62484a323e
commit f9e64f7de6
@@ -215,7 +215,7 @@ public class VcsPushDialog extends DialogWrapper {
myForcePushAction.setEnabled(canForcePush);
String tooltip = null;
PushTarget target = myController.getProhibitedTarget();
if (!canForcePush && target!=null) {
if (!canForcePush && target != null) {
tooltip = "Force push to <b>" + target.getPresentation() + "</b> is prohibited";
}
myForcePushAction.putValue(Action.SHORT_DESCRIPTION, tooltip);