svn commit: r16282 - trunk/src/argouml-app/src/org/argouml/uml/diagram/deployment/ui/AbstractFigComponent.java

Tom Morris <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2008-12-07 12:59:37-0800
New Revision: 16282

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

Log:
Remove deprecated setNode()

Modified: trunk/src/argouml-app/src/org/argouml/uml/diagram/deployment/ui/AbstractFigComponent.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/diagram/deployment/ui/AbstractFigComponent.java?view=diff&pathrev=16282&r1=16281&r2=16282
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/diagram/deployment/ui/AbstractFigComponent.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/diagram/deployment/ui/AbstractFigComponent.java	2008-12-07 12:59:37-0800
@@ -30,7 +30,6 @@
 import java.beans.PropertyChangeEvent;
 import java.util.Collection;
 import java.util.Iterator;
-import java.util.List;
 
 import org.argouml.model.AssociationChangeEvent;
 import org.argouml.model.AttributeChangeEvent;
@@ -199,26 +198,6 @@
         updateEdges();
     }
 
-    /**
-     * TODO: This is not used anywhere. Can we remove it?
-     * 
-     * @param figures ?
-     * @deprecated for 0.25.4 by tfmorris. Unused in ArgoUML. Not clear it was
-     *             ever intended to be part of the public API.
-     */
-    @Deprecated
-    public void setNode(List figures) {
-        int size = figures.size();
-        if (figures != null && (size > 0)) {
-            for (int i = 0; i < size; i++) {
-                Object o = figures.get(i);
-                if (o instanceof FigComponent) {
-                    FigComponent figcomp = (FigComponent) o;
-                    figcomp.setEnclosingFig(this);
-                }
-            }
-        }
-    }
 
     @Override
     public boolean getUseTrapRect() {

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

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.