commit | 2422c8b9abf5829f91fe4529884db9c4240be84f | [log] [tgz] |
---|---|---|
author | Ed Willink <ed@willink.me.uk> | Tue Feb 18 15:11:54 2020 +0000 |
committer | Ed Willink <ed@willink.me.uk> | Tue Feb 18 15:11:54 2020 +0000 |
tree | 5b93f02cd7ce6dc075bdf013f809e057e1771585 | |
parent | 3e1e6ffc64a93b4551ada2356f4b471df0920514 [diff] |
[unrelated] Allow zero-length non-null names
diff --git a/plugins/org.eclipse.ocl.xtext.base/src/org/eclipse/ocl/xtext/base/services/BaseLinkingService.java b/plugins/org.eclipse.ocl.xtext.base/src/org/eclipse/ocl/xtext/base/services/BaseLinkingService.java index 00c3111..3ec5358 100644 --- a/plugins/org.eclipse.ocl.xtext.base/src/org/eclipse/ocl/xtext/base/services/BaseLinkingService.java +++ b/plugins/org.eclipse.ocl.xtext.base/src/org/eclipse/ocl/xtext/base/services/BaseLinkingService.java
@@ -53,7 +53,7 @@ depth++; String text = getText(node); boolean traceLookup = BaseScopeProvider.LOOKUP.isActive(); - if ((text == null) || "".equals(text)) { // Avoid IQualifiedNameConverter IAE + if (text == null) { // Avoid IQualifiedNameConverter IAE if (traceLookup) { BaseScopeProvider.LOOKUP.println("" + depth + " Lookup null"); }