Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlapitre2016-01-08 04:04:42 -0500
committerGerrit Code Review @ Eclipse.org2016-12-16 03:03:35 -0500
commit07383f5a34f8a93e7b1b814afe4763f6dd25401e (patch)
tree167a57ada711f442b37009e17d30ca3a87ca2420
parentad93f22186778c1ef93cc178025263db4dc99d5e (diff)
downloadorg.eclipse.papyrus-streams/1.1-maintenance.tar.gz
org.eclipse.papyrus-streams/1.1-maintenance.tar.xz
org.eclipse.papyrus-streams/1.1-maintenance.zip
Bug 485389 - [xtext-uml] duplicate call of parsing method streams/1.1-maintenance
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