Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361572

Summary: XtendImportImplCustom
Product: [Tools] Xtend Reporter: Ed Merks <Ed.Merks>
Component: CoreAssignee: Project Inbox <xtend-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jan, sebastian.zarnekow, sven.efftinge
Version: 2.3.0Flags: sven.efftinge: kepler+
Target Milestone: M5   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Ed Merks CLA 2011-10-20 12:05:38 EDT
In here

	@Override
	public String getImportedTypeName() {
		String result = getImportedNamespace();
		if (result == null) {
			if (this.eIsSet(Xtend2Package.Literals.XTEND_IMPORT__IMPORTED_TYPE)) {
				List<INode> list = NodeModelUtils.findNodesForFeature(this,
						Xtend2Package.Literals.XTEND_IMPORT__IMPORTED_TYPE);
				StringBuilder sb = new StringBuilder();
				for (INode iNode : list) {
					sb.append(NodeModelUtils.getTokenText(iNode));
				}
				return sb.toString().replace(" ", "");
			}
			return null;
		}
		if (isWildcard()) {
			if (result.length() > 2)
				return result.substring(0, result.length() - 2);
			return null;
		}
		return result;
	}

the node value you pull out won't replace the escape (^) character extracted from the node.
Comment 1 Jan Koehnlein CLA 2013-01-23 07:57:13 EST
This has been fixed in the meantime. The respective code is now in XImportDeclarationImplCustom.
Comment 2 Eclipse Webmaster CLA 2017-10-31 11:07:40 EDT
Requested via bug 522520.

-M.
Comment 3 Eclipse Webmaster CLA 2017-10-31 11:19:09 EDT
Requested via bug 522520.

-M.