Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Lorenzo2013-12-18 10:04:09 +0000
committerVincent Lorenzo2013-12-18 10:04:09 +0000
commiteb6dd1a8c7f821b9244eeb6b205f4650ef32dc47 (patch)
tree010afd9db7906ba730e1f8523ff6773654110f8e /plugins/uml/org.eclipse.papyrus.uml.search.ui/src/org
parentd5da4bfabb16bcbd6c06fddf38e07b07f1e8a084 (diff)
downloadorg.eclipse.papyrus-eb6dd1a8c7f821b9244eeb6b205f4650ef32dc47.tar.gz
org.eclipse.papyrus-eb6dd1a8c7f821b9244eeb6b205f4650ef32dc47.tar.xz
org.eclipse.papyrus-eb6dd1a8c7f821b9244eeb6b205f4650ef32dc47.zip
Fix a class cast bug due to the rmap update
Diffstat (limited to 'plugins/uml/org.eclipse.papyrus.uml.search.ui/src/org')
-rw-r--r--plugins/uml/org.eclipse.papyrus.uml.search.ui/src/org/eclipse/papyrus/uml/search/ui/query/PapyrusOCLQuery.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/uml/org.eclipse.papyrus.uml.search.ui/src/org/eclipse/papyrus/uml/search/ui/query/PapyrusOCLQuery.java b/plugins/uml/org.eclipse.papyrus.uml.search.ui/src/org/eclipse/papyrus/uml/search/ui/query/PapyrusOCLQuery.java
index c94f09d3674..3dd729e5aac 100644
--- a/plugins/uml/org.eclipse.papyrus.uml.search.ui/src/org/eclipse/papyrus/uml/search/ui/query/PapyrusOCLQuery.java
+++ b/plugins/uml/org.eclipse.papyrus.uml.search.ui/src/org/eclipse/papyrus/uml/search/ui/query/PapyrusOCLQuery.java
@@ -209,7 +209,7 @@ public class PapyrusOCLQuery extends AbstractPapyrusQuery {
monitor.subTask(ConsoleMessages.Progress_Extent);
PivotEnvironmentFactory envFactory = new PivotEnvironmentFactory(null, metaModelManager);
PivotEnvironment environment = envFactory.createEnvironment();
- PivotEvaluationEnvironment evaluationEnvironment = envFactory.createEvaluationEnvironment();
+ EvaluationEnvironment evaluationEnvironment = envFactory.createEvaluationEnvironment();
Object contextValue = metaModelManager.getIdResolver().boxedValueOf(contextObject);
evaluationEnvironment.add(DomainUtil.nonNullModel(expressionInOCL.getContextVariable()), contextValue);
// if (modelManager == null) {

Back to the top