void () { if (myException != null) { AbstractVcsHelper.getInstance(myProject).showError(myException, message("tab.title.edit.revision.comment")); } else { if (myListener != null) { myListener.consume(myNewMessage); } if (!myProject.isDefault()) { CommittedChangesCache.getInstance(myProject).commitMessageChanged(myLocation, myNumber, myNewMessage); } String message = message("notification.content.revision.commit.message.changed.to", myNumber, myNewMessage); if (myFromVersionControl) { showOverVersionControlView(myProject, message, MessageType.INFO); } else { showOverChangesView(myProject, message, MessageType.INFO); } } }