From 721e8656ee3c63c3d836d8dc106ae75435f2238c Mon Sep 17 00:00:00 2001 From: Alexey Kudravtsev Date: Fri, 27 Feb 2009 16:15:39 +0300 Subject: [PATCH] UnsupportedOpException --- lang-impl/src/com/intellij/refactoring/BaseRefactoringProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang-impl/src/com/intellij/refactoring/BaseRefactoringProcessor.java b/lang-impl/src/com/intellij/refactoring/BaseRefactoringProcessor.java index 5138a370ae..3e07a3bea3 100644 --- a/lang-impl/src/com/intellij/refactoring/BaseRefactoringProcessor.java +++ b/lang-impl/src/com/intellij/refactoring/BaseRefactoringProcessor.java @@ -230,7 +230,7 @@ public abstract class BaseRefactoringProcessor { public void run() { ApplicationManager.getApplication().runWriteAction(new Runnable() { public void run() { - List usageInfos = Arrays.asList(usages); + Collection usageInfos = new HashSet(Arrays.asList(usages)); doRefactoring(usageInfos); } }); -- 2.11.4.GIT