svn commit: r15600 - trunk/src/argouml-app/src/org/argouml/uml/diagram/state/ui/FigStateVertex.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: penyaskito
Date: 2008-08-21 08:19:11-0700
New Revision: 15600

Modified:
   trunk/src/argouml-app/src/org/argouml/uml/diagram/state/ui/FigStateVertex.java

Log:
Updated typo and code style. No functional change.

Modified: trunk/src/argouml-app/src/org/argouml/uml/diagram/state/ui/FigStateVertex.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/diagram/state/ui/FigStateVertex.java?view=diff&rev=15600&p1=trunk/src/argouml-app/src/org/argouml/uml/diagram/state/ui/FigStateVertex.java&p2=trunk/src/argouml-app/src/org/argouml/uml/diagram/state/ui/FigStateVertex.java&r1=15599&r2=15600
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/diagram/state/ui/FigStateVertex.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/diagram/state/ui/FigStateVertex.java	2008-08-21 08:19:11-0700
@@ -100,9 +100,10 @@
         }
         if (compositeState != null) {
             /* Do not change the model unless needed - avoids issue 4446: */
-            if (Model.getFacade().getContainer(stateVertex) != compositeState)
+            if (Model.getFacade().getContainer(stateVertex) != compositeState) {
                 Model.getStateMachinesHelper().setContainer(stateVertex,
                         compositeState);
+            }
         }
     }
 
@@ -163,7 +164,7 @@
      * and FigFinalState.
      * TODO: As this method is not required by all sub classes then should we
      * it would seem sensible to extend FigStateVertex with FigCircleVertex
-     * and only have the relevant concrete Figs extand that and gain this
+     * and only have the relevant concrete Figs extend that and gain this
      * functionality.
      * @return a List of Points
      */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.