commit | c0957a7a7d53655ecf9ae5047a94fe20de0e5d5d | [log] [tgz] |
---|---|---|
author | Mickael Istria <mistria@redhat.com> | Mon May 18 14:10:30 2015 +0200 |
committer | Mickael Istria <mistria@redhat.com> | Thu May 28 07:27:04 2015 -0400 |
tree | 067ec4dbb7f1dcbcc2fcc9d5ef425f58b39a55e8 | |
parent | 9fa1a707b37327a2071902d0432567139da52702 [diff] |
[Importer] Fix erroneous reports Ref: JBIDE-19807 Change-Id: I77142b1d7241ec0b38a1fbd3a95577a72964fb05 Signed-off-by: Mickael Istria <mistria@redhat.com>
diff --git a/bundles/org.eclipse.e4.ui.importer/src/org/eclipse/ui/internal/wizards/datatransfer/EasymportJob.java b/bundles/org.eclipse.e4.ui.importer/src/org/eclipse/ui/internal/wizards/datatransfer/EasymportJob.java index 1aec88f..5753c8e 100644 --- a/bundles/org.eclipse.e4.ui.importer/src/org/eclipse/ui/internal/wizards/datatransfer/EasymportJob.java +++ b/bundles/org.eclipse.e4.ui.importer/src/org/eclipse/ui/internal/wizards/datatransfer/EasymportJob.java
@@ -303,7 +303,9 @@ return null; } project.open(progressMonitor); - this.report.put(project, new ArrayList<ProjectConfigurator>()); + if (!this.report.containsKey(project)) { + this.report.put(project, new ArrayList<ProjectConfigurator>()); + } return project; } catch (Exception ex) { throw new CouldNotImportProjectException(directory, ex);