svn commit: r12878 - trunk/src_new/org/argouml/uml/diagram/state/ui/SelectionState.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2007-06-19 11:49:42-0700
New Revision: 12878

Modified:
   trunk/src_new/org/argouml/uml/diagram/state/ui/SelectionState.java

Log:
Use constant to help avoid future mistakes.

Modified: trunk/src_new/org/argouml/uml/diagram/state/ui/SelectionState.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/diagram/state/ui/SelectionState.java?view=diff&rev=12878&p1=trunk/src_new/org/argouml/uml/diagram/state/ui/SelectionState.java&p2=trunk/src_new/org/argouml/uml/diagram/state/ui/SelectionState.java&r1=12877&r2=12878
==============================================================================
--- trunk/src_new/org/argouml/uml/diagram/state/ui/SelectionState.java	(original)
+++ trunk/src_new/org/argouml/uml/diagram/state/ui/SelectionState.java	2007-06-19 11:49:42-0700
@@ -120,7 +120,7 @@
 
     @Override
     protected boolean isReverseEdge(int index) {
-        if (index == 12) {
+        if (index == LEFT) {
             return true;
         }
         return false;
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.