diff options
author | lapitre | 2016-01-08 09:04:42 +0000 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org | 2016-12-16 08:03:35 +0000 |
commit | 07383f5a34f8a93e7b1b814afe4763f6dd25401e (patch) | |
tree | 167a57ada711f442b37009e17d30ca3a87ca2420 | |
parent | ad93f22186778c1ef93cc178025263db4dc99d5e (diff) | |
download | org.eclipse.papyrus-07383f5a34f8a93e7b1b814afe4763f6dd25401e.tar.gz org.eclipse.papyrus-07383f5a34f8a93e7b1b814afe4763f6dd25401e.tar.xz org.eclipse.papyrus-07383f5a34f8a93e7b1b814afe4763f6dd25401e.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.java | 2 |
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)); |