This commit is contained in:
Dmitry Avdeev
2017-10-12 16:13:02 +03:00
parent 0fe0c296c4
commit 32a1158140
@@ -26,7 +26,7 @@ import com.intellij.openapi.vcs.changes.Change;
import com.intellij.openapi.vcs.changes.ChangeListManager;
import com.intellij.openapi.vcs.changes.InvokeAfterUpdateMode;
import com.intellij.openapi.vcs.changes.LocalChangeList;
import com.intellij.openapi.vfs.VfsUtil;
import com.intellij.openapi.vfs.VfsUtilCore;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.util.Function;
import com.intellij.util.NullableFunction;
@@ -56,7 +56,7 @@ public class VcsHandleType extends HandleType {
try {
EditFileProvider provider = myVcs.getEditFileProvider();
assert provider != null;
provider.editFiles(VfsUtil.toVirtualFileArray(files));
provider.editFiles(VfsUtilCore.toVirtualFileArray(files));
}
catch (VcsException e) {
Messages.showErrorDialog(VcsBundle.message("message.text.cannot.edit.file", e.getLocalizedMessage()),