summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsefftinge2009-02-10 07:00:51 (EST)
committer sefftinge2009-02-10 07:00:51 (EST)
commit69ea37e88e42266d068cf07eab80ea197c1e25e5 (patch)
treece9c19221eb6e7169e7636d7e8d59d666c03c32a
parentf96da4da1301554d8cf17d3594bd89798b48ad7a (diff)
downloadorg.eclipse.xpand-69ea37e88e42266d068cf07eab80ea197c1e25e5.zip
org.eclipse.xpand-69ea37e88e42266d068cf07eab80ea197c1e25e5.tar.gz
org.eclipse.xpand-69ea37e88e42266d068cf07eab80ea197c1e25e5.tar.bz2
https://bugs.eclipse.org/bugs/show_bug.cgi?id=264319
-rw-r--r--plugins/org.eclipse.xpand/src/org/eclipse/xpand2/XpandExecutionContextImpl.java6
-rw-r--r--plugins/org.eclipse.xtend/src/org/eclipse/xtend/expression/ExecutionContextImpl.java4
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/org.eclipse.xpand/src/org/eclipse/xpand2/XpandExecutionContextImpl.java b/plugins/org.eclipse.xpand/src/org/eclipse/xpand2/XpandExecutionContextImpl.java
index 6fd92b8..98f53c4 100644
--- a/plugins/org.eclipse.xpand/src/org/eclipse/xpand2/XpandExecutionContextImpl.java
+++ b/plugins/org.eclipse.xpand/src/org/eclipse/xpand2/XpandExecutionContextImpl.java
@@ -105,7 +105,7 @@ public class XpandExecutionContextImpl extends ExecutionContextImpl implements X
@Override
- public XpandExecutionContextImpl cloneContext() {
+ public ExecutionContextImpl cloneContext() {
final XpandExecutionContextImpl result = new XpandExecutionContextImpl (resourceManager, currentResource(), typeSystem, getVisibleVariables(), getGlobalVariables(), output,
protectedRegionResolver, getMonitor(), exceptionHandler,registeredExtensionAdvices, nullEvaluationHandler,allExtensionsPerResource, callback,this.extensionsForNameAndTypesCache);
result.registeredAdvices.addAll(registeredAdvices); //todo: [aha] before I refactored, there was an assignment in this place. Is this modification correct?
@@ -296,8 +296,4 @@ public class XpandExecutionContextImpl extends ExecutionContextImpl implements X
registerParser(resourceManager);
this.resourceManager = resourceManager;
}
-
- public void setCallBack(Callback callback) {
- this.callback = callback;
- }
}
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 c14336a..e7b6292 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
@@ -543,4 +543,8 @@ public class ExecutionContextImpl implements ExecutionContext {
typeSystem.release();
}
+ public void setCallBack(Callback callback) {
+ this.callback = callback;
+ }
+
}