void (@NotNull String oldMessage, @NotNull String newMessage) { VcsConfiguration.getInstance(myProject).replaceMessage(oldMessage, newMessage); if (areChangeListsEnabled()) { for (LocalChangeList changeList : getChangeLists()) { if (oldMessage.equals(changeList.getComment())) { editComment(changeList.getName(), newMessage); } } } }