Author: mvw Date: 2008-11-11 01:01:20-0800 New Revision: 16023 Modified: trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigDependency.java
Log: Refactor for readability. Modified: trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigDependency.java Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigDependency.java?view=diff&rev=16023&p1=trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigDependency.java&p2=trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigDependency.java&r1=16022&r2=16023 ============================================================================== --- trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigDependency.java (original) +++ trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigDependency.java 2008-11-11 01:01:20-0800 @@ -1,5 +1,5 @@ // $Id$ -// Copyright (c) 1996-2007 The Regents of the University of California. All +// Copyright (c) 1996-2008 The Regents of the University of California. All // Rights Reserved. Permission to use, copy, modify, and distribute this // software and its documentation without fee, and without a written // agreement is hereby granted, provided that the above copyright notice @@ -52,9 +52,6 @@ */ private FigTextGroup middleGroup = new FigTextGroup(); - //////////////////////////////////////////////////////////////// - // constructors - /** * Constructor */ @@ -74,26 +71,23 @@ /** * Constructor that sets the UML element - * @param edge the UML element + * @param dependency the UML element */ - public FigDependency(Object edge) { + public FigDependency(Object dependency) { this(); - setOwner(edge); + setOwner(dependency); } /** - * @param edge theUML element + * @param dependency theUML element * @param lay the layer */ - public FigDependency(Object edge, Layer lay) { + public FigDependency(Object dependency, Layer lay) { this(); - setOwner(edge); + setOwner(dependency); setLayer(lay); } - //////////////////////////////////////////////////////////////// - // accessors - /* * @see org.tigris.gef.presentation.FigEdge#setFig(org.tigris.gef.presentation.Fig) */ @@ -111,9 +105,6 @@ return false; } - //////////////////////////////////////////////////////////////// - // event handlers - /* * @see org.tigris.gef.presentation.Fig#paint(java.awt.Graphics) */ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
