mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix warning "mac file equals"
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user