merge commands to replace duplicates (IDEA-126776)

This commit is contained in:
Anna Kozlova
2014-07-22 20:37:39 +02:00
parent e9a17dfad8
commit 987376846b
@@ -131,7 +131,7 @@ public class DuplicatesImpl {
}
HighlightManager.getInstance(project).removeSegmentHighlighter(editor, highlighters.get(0));
new WriteCommandAction(project, MethodDuplicatesHandler.REFACTORING_NAME) {
new WriteCommandAction(project, MethodDuplicatesHandler.REFACTORING_NAME, MethodDuplicatesHandler.REFACTORING_NAME) {
@Override
protected void run(Result result) throws Throwable {
try {