summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkohnlein2009-01-23 05:42:48 (EST)
committerjkohnlein2009-01-23 05:42:48 (EST)
commit2b7dea221874d219df1318df0459c040c76379e7 (patch)
tree6ae8883ceaacec2d2eb4cb61f6596bb461719a79
parent61b32cbbb8411ad29564dff0f567ae82df0ca559 (diff)
downloadorg.eclipse.xpand-2b7dea221874d219df1318df0459c040c76379e7.zip
org.eclipse.xpand-2b7dea221874d219df1318df0459c040c76379e7.tar.gz
org.eclipse.xpand-2b7dea221874d219df1318df0459c040c76379e7.tar.bz2
eliminated another debugging nightmare
-rw-r--r--plugins/org.eclipse.xtend/src/org/eclipse/xtend/expression/ExecutionContextImpl.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.xtend/src/org/eclipse/xtend/expression/ExecutionContextImpl.java b/plugins/org.eclipse.xtend/src/org/eclipse/xtend/expression/ExecutionContextImpl.java
index 3b18c01..c14336a 100644
--- a/plugins/org.eclipse.xtend/src/org/eclipse/xtend/expression/ExecutionContextImpl.java
+++ b/plugins/org.eclipse.xtend/src/org/eclipse/xtend/expression/ExecutionContextImpl.java
@@ -328,7 +328,8 @@ public class ExecutionContextImpl implements ExecutionContext {
}};
public Extension getExtensionForTypes(final String functionName, final Type[] parameterTypes) {
- return extensionsForNameAndTypesCache.get(new Triplet<Resource, String, List<Type>>(currentResource(),functionName,Arrays.asList(parameterTypes)));
+ Triplet<Resource, String, List<Type>> key = new Triplet<Resource, String, List<Type>>(currentResource(),functionName,Arrays.asList(parameterTypes));
+ return extensionsForNameAndTypesCache.get(key);
// return PolymorphicResolver.getExtension(getAllExtensions(), functionName, Arrays.asList(parameterTypes));
}