Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamille Letavernier2014-03-13 11:57:08 +0000
committerCamille Letavernier2014-03-13 11:57:08 +0000
commit9356316903b662b0dfe914eda6fd81a31135c926 (patch)
tree55d981ca6a71b363920e94b526918415a33571c4 /plugins/uml
parent30e9bc0ab6756fbb08f20c48e7240359844e50b6 (diff)
downloadorg.eclipse.papyrus-9356316903b662b0dfe914eda6fd81a31135c926.tar.gz
org.eclipse.papyrus-9356316903b662b0dfe914eda6fd81a31135c926.tar.xz
org.eclipse.papyrus-9356316903b662b0dfe914eda6fd81a31135c926.zip
357783: strange while-loop in xtext popup editors
(org.eclipse.papyrus.xxxx.editor.xtext.ui) https://bugs.eclipse.org/bugs/show_bug.cgi?id=357783
Diffstat (limited to 'plugins/uml')
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.message.xtext.ui/src/org/eclipse/papyrus/uml/textedit/message/xtext/ui/contributions/MessagePopupEditor.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.message.xtext.ui/src/org/eclipse/papyrus/uml/textedit/message/xtext/ui/contributions/MessagePopupEditor.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.message.xtext.ui/src/org/eclipse/papyrus/uml/textedit/message/xtext/ui/contributions/MessagePopupEditor.java
index 62126e501a0..bea4a2f64fd 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.message.xtext.ui/src/org/eclipse/papyrus/uml/textedit/message/xtext/ui/contributions/MessagePopupEditor.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.message.xtext.ui/src/org/eclipse/papyrus/uml/textedit/message/xtext/ui/contributions/MessagePopupEditor.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -42,7 +42,7 @@ public class MessagePopupEditor extends DefaultXtextDirectEditorConfiguration {
protected ICommand getParseCommand(EObject umlObject, EObject xtextObject) {
Message message = (Message)umlObject;
EObject modifiedObject = xtextObject;
- while(xtextObject != null && !(xtextObject instanceof MessageRule)) {
+ while(modifiedObject != null && !(modifiedObject instanceof MessageRule)) {
modifiedObject = modifiedObject.eContainer();
}
if(modifiedObject == null) {
@@ -80,7 +80,7 @@ public class MessagePopupEditor extends DefaultXtextDirectEditorConfiguration {
/**
* @see org.eclipse.papyrus.infra.gmfdiag.xtext.glue.PopupEditorConfiguration#getTextToEdit(java.lang.Object)
- *
+ *
* @param editedObject
* @return the text to edit
*/

Back to the top