svn commit: r16748 - trunk/src/argouml-app/src/org/argouml/uml/diagram/static_structure/layout/ClassdiagramNode.java

Tom Morris <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2009-02-02 15:11:18-0800
New Revision: 16748

Modified:
   trunk/src/argouml-app/src/org/argouml/uml/diagram/static_structure/layout/ClassdiagramNode.java

Log:
Wrap long line

Modified: trunk/src/argouml-app/src/org/argouml/uml/diagram/static_structure/layout/ClassdiagramNode.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/diagram/static_structure/layout/ClassdiagramNode.java?view=diff&pathrev=16748&r1=16747&r2=16748
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/diagram/static_structure/layout/ClassdiagramNode.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/diagram/static_structure/layout/ClassdiagramNode.java	2009-02-02 15:11:18-0800
@@ -174,8 +174,7 @@
         for (ClassdiagramNode node : uplinks) {
             weight = Math.max(weight, node.getWeight()
                     * UPLINK_FACTOR
-                    * (1 + 1 / Math
-                            .max(1, node.getColumn() + UPLINK_FACTOR)));
+                    * (1 + 1 / Math.max(1, node.getColumn() + UPLINK_FACTOR)));
         }
         weight += getSubtreeWeight()
                 + (1 / Math.max(1, getColumn() + UPLINK_FACTOR));

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=1092999

To unsubscribe from this discussion, e-mail: [[email protected]].
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.