svn commit: r16320 - trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigAssociation.java

Michiel van der Wulp <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: mvw
Date: 2008-12-10 11:16:30-0800
New Revision: 16320

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

Log:
Fixing style warnings only.

Modified: trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigAssociation.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigAssociation.java?view=diff&pathrev=16320&r1=16319&r2=16320
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigAssociation.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigAssociation.java	2008-12-10 11:16:30-0800
@@ -761,6 +761,9 @@
     private static final int NAV_AGGREGATE = 4;
     private static final int NAV_COMPOSITE = 5;
     
+    /**
+     * All the arrow head types.
+     */
     public static final ArrowHead[] ARROW_HEADS = new ArrowHead[6];
     static {
         ARROW_HEADS[NONE] = ArrowHeadNone.TheInstance;
@@ -776,6 +779,7 @@
     private int arrowType = 0;
     private FigEdgeModelElement figEdge;
 
+    @SuppressWarnings("deprecation")
     @Deprecated
     FigAssociationEndAnnotation(FigEdgeModelElement edge) {
         figEdge = edge;
@@ -803,9 +807,11 @@
                 new String[] {"isNavigable", "aggregation", "participant"});
     }
     
-    /*
-     * @see org.tigris.gef.presentation.Fig#setOwner(java.lang.Object)
+    /**
+     * @deprecated by mvw in 0.27.3. Use non-deprecated constructors instead.
      */
+    @SuppressWarnings("deprecation")
+    @Deprecated
     @Override
     public void setOwner(Object owner) {
         if (owner != null) {
@@ -905,6 +911,9 @@
         }
     }
     
+    /**
+     * @return the current arrow type of this end of the association
+     */
     public int getArrowType() {
         return arrowType;
     }

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

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.