Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Haug2018-07-16 10:56:06 +0000
committerJuergen Haug2020-06-18 10:35:44 +0000
commit217ea5c89656b7e1abcafba4fd7a899d2341a410 (patch)
tree5b1caa3faa739085679893ceea852c18fc145f7c
parent132df3e2d2abd4c07be39837055fad01306ab629 (diff)
downloadorg.eclipse.etrice-217ea5c89656b7e1abcafba4fd7a899d2341a410.tar.gz
org.eclipse.etrice-217ea5c89656b7e1abcafba4fd7a899d2341a410.tar.xz
org.eclipse.etrice-217ea5c89656b7e1abcafba4fd7a899d2341a410.zip
[core] improved import validation - allow same names of eObj
-rw-r--r--plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/base/util/ImportHelpers.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/base/util/ImportHelpers.java b/plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/base/util/ImportHelpers.java
index c6e5625c3..0dc81ce52 100644
--- a/plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/base/util/ImportHelpers.java
+++ b/plugins/org.eclipse.etrice.core.common/src/org/eclipse/etrice/core/common/base/util/ImportHelpers.java
@@ -145,10 +145,6 @@ public class ImportHelpers {
while (iter.hasNext()) {
IEObjectDescription eObjDesc = iter.next();
if (importedFQN.equals(eObjDesc.getQualifiedName())) {
- if (quickFixCandidateMatcher.apply(eObjDesc)) {
- // exact match -> early quit
- return Optional.of(Lists.newArrayList(eObjDesc));
- }
candidates.add(eObjDesc);
} else if (quickFixCandidateMatcher.apply(eObjDesc)) {
candidates.add(eObjDesc);

Back to the top