Login | Register
My pages Projects Community openCollabNet

Discussions > Commits > svn commit: r149 - trunk/src/argouml-app/src/org/argouml/uml/ui/behavior/common_behavior/ActionNewAction.java

argouml-spl
Discussion topic

Hide all messages in topic

All messages in topic

svn commit: r149 - trunk/src/argouml-app/src/org/argouml/uml/ui/behavior/common_behavior/ActionNewAction.java

Author benjamin_klatt
Full name Benjamin Klatt
Date 2014-06-08 00:03:27 PDT
Message Author: benjamin_klatt
Date: 2014-06-08 00:03:27-0700
New Revision: 149

Modified:
   trunk/src/argouml-ap​p/src/org/argouml/um​l/ui/behavior/common​_behavior/ActionNewA​ction.java

Log:
fixed invalid pre processor statement position

Modified: trunk/src/argouml-ap​p/src/org/argouml/um​l/ui/behavior/common​_behavior/ActionNewA​ction.java
Url: http://argouml-spl.t​igris.org/source/bro​wse/argouml-spl/trun​k/src/argouml-app/sr​c/org/argouml/uml/ui​/behavior/common_beh​avior/ActionNewActio​n.java?view=diff​&pathrev=149&r1=​148&r2=149
====================​====================​====================​==================
--- trunk/src/argouml-ap​p/src/org/argouml/um​l/ui/behavior/common​_behavior/ActionNewA​ction.java (original)
+++ trunk/src/argouml-ap​p/src/org/argouml/um​l/ui/behavior/common​_behavior/ActionNewA​ction.java 2014-06-08 00:03:27-0700
@@ -35,7 +35,7 @@
  * @since Dec 15, 2002
  * @author jaap dot branderhorst at xs4all dot nl
  */
-public abstract class ActionNewAction extends AbstractActionNewModelElement
+public abstract class ActionNewAction extends AbstractActionNewModelElement
     implements ModalAction {
 
     /**
@@ -121,14 +121,14 @@
         //@#$LPS-SEQUENCEDI​AGRAM:GranularityTyp​e:Statement
         if (getValue(ROLE).equa​ls(Roles.ACTION)) {
             Model.getCollaborati​onsHelper().setActio​n(getTarget(), action);
- }
+ } else
         //#endif
         //#if defined(STATEDIAGRAM) or defined(ACTIVITYDIAGRAM)
         //@#$LPS-STATEDIAGR​AM:GranularityType:S​tatement
         //@#$LPS-ACTIVITYDI​AGRAM:GranularityTyp​e:Statement
- else if (getValue(ROLE).equa​ls(Roles.EFFECT)) {
+ if (getValue(ROLE).equa​ls(Roles.EFFECT)) {
             Model.getStateMachin​esHelper().setEffect​(getTarget(), action);
- } else
+ } else
         //#endif
             if (getValue(ROLE).equa​ls(Roles.MEMBER)) {
             Model.getCommonBehav​iorHelper().addActio​n(getTarget(), action);
Messages per page: