Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlapitre2016-01-08 09:04:42 +0000
committerlapitre2016-01-08 09:04:42 +0000
commit62c43ee924b01e4e0aed4f18410205084967776d (patch)
treeae6048967c16ff260e1ee2bf0db13c137de2907d
parent1e8da9e3b44d17bd8fd458a7bbc3dff755311f5d (diff)
downloadorg.eclipse.papyrus-62c43ee924b01e4e0aed4f18410205084967776d.tar.gz
org.eclipse.papyrus-62c43ee924b01e4e0aed4f18410205084967776d.tar.xz
org.eclipse.papyrus-62c43ee924b01e4e0aed4f18410205084967776d.zip
Bug 485389 - [xtext-uml] duplicate call of parsing method
replacing the parse method by the initial cmd Change-Id: Ib85da38749b18e052f4803ce63332d8ca6b90d71 Signed-off-by: lapitre <arnault.lapitre@cea.fr>
-rw-r--r--plugins/uml/xtext/org.eclipse.papyrus.uml.xtext.integration.ui/src/org/eclipse/papyrus/uml/xtext/integration/DefaultXtextDirectEditorConfiguration.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/uml/xtext/org.eclipse.papyrus.uml.xtext.integration.ui/src/org/eclipse/papyrus/uml/xtext/integration/DefaultXtextDirectEditorConfiguration.java b/plugins/uml/xtext/org.eclipse.papyrus.uml.xtext.integration.ui/src/org/eclipse/papyrus/uml/xtext/integration/DefaultXtextDirectEditorConfiguration.java
index cb4d125c690..573dd89fa47 100644
--- a/plugins/uml/xtext/org.eclipse.papyrus.uml.xtext.integration.ui/src/org/eclipse/papyrus/uml/xtext/integration/DefaultXtextDirectEditorConfiguration.java
+++ b/plugins/uml/xtext/org.eclipse.papyrus.uml.xtext.integration.ui/src/org/eclipse/papyrus/uml/xtext/integration/DefaultXtextDirectEditorConfiguration.java
@@ -147,7 +147,7 @@ public abstract class DefaultXtextDirectEditorConfiguration extends DefaultDirec
EObject xtextObject = context.getFakeResource().getParseResult().getRootASTElement();
ICommand cmd = DefaultXtextDirectEditorConfiguration.this.getParseCommand(semanticObject, xtextObject);
if (cmd != null) {
- result.add(DefaultXtextDirectEditorConfiguration.this.getParseCommand(semanticObject, xtextObject));
+ result.add(cmd);
}
} else {
result.add(createInvalidStringCommand(newString, semanticObject));

Back to the top