void () { new Task.Modal(myProject, getTitle(), true) { @Override public void run(@NotNull ProgressIndicator indicator) { try { beforeCompare(); myElementUrl = resolveElementUrl(); if (myElementUrl == null) { reportNotFound(); } else { compare(); } } catch (SvnBindException ex) { reportException(ex); } catch (VcsException ex) { reportGeneralException(ex); } } }.queue(); showResult(); }