ProgressIndicator (boolean visible, @NotNull ProgressKey key) { if (ApplicationManager.getApplication().isHeadlessEnvironment()) { return new EmptyProgressIndicator(); } return new VcsLogProgressIndicator(visible, key); }