From 72ee12cf418cb07def864ec5529b051c105ffbb2 Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Fri, 8 Nov 2013 15:16:35 +0100 Subject: [PATCH] fix warning "mac file equals" --- .../intellij/ide/actions/ChooseComponentsToExportDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/ide/actions/ChooseComponentsToExportDialog.java b/platform/platform-impl/src/com/intellij/ide/actions/ChooseComponentsToExportDialog.java index 3f42a45e6884..0122e88489ef 100644 --- a/platform/platform-impl/src/com/intellij/ide/actions/ChooseComponentsToExportDialog.java +++ b/platform/platform-impl/src/com/intellij/ide/actions/ChooseComponentsToExportDialog.java @@ -155,7 +155,7 @@ public class ChooseComponentsToExportDialog extends DialogWrapper { for (final ExportableComponent tiedComponent : tiedComponents) { if (tiedComponent == component) continue; final ComponentElementProperties elementProperties = componentToContainingListElement.get(tiedComponent); - if (elementProperties != null && !exportFile.equals(file)) { + if (elementProperties != null && !FileUtil.filesEqual(exportFile, file)) { LOG.assertTrue(file == null, "Component " + component + " serialize itself into " + file + " and " + exportFile); // found elementProperties.addComponent(component);