svn commit: r19374 - trunk/src/argouml-core-model/src/org/argouml/model/ModelManagementHelper.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: bobtarling
Date: 2011-05-07 07:48:59-0700
New Revision: 19374

Modified:
   trunk/src/argouml-core-model/src/org/argouml/model/ModelManagementHelper.java

Log:
Deprecate an unsafe method

Modified: trunk/src/argouml-core-model/src/org/argouml/model/ModelManagementHelper.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model/src/org/argouml/model/ModelManagementHelper.java?view=diff&pathrev=19374&r1=19373&r2=19374
==============================================================================
--- trunk/src/argouml-core-model/src/org/argouml/model/ModelManagementHelper.java	(original)
+++ trunk/src/argouml-core-model/src/org/argouml/model/ModelManagementHelper.java	2011-05-07 07:48:59-0700
@@ -109,6 +109,9 @@
      *            name of class to find (without implementation-specific
      *            additions)
      * @return a Collection.
+     * @deprecated in 0.33.4 by Bob Tarling. This assumes knowledge of class
+     * names outside of the model implementation. Use
+     * getAllModelElementsOfKind(Object, Object) instead.
      */
     Collection getAllModelElementsOfKind(Object namespace, String kind);

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

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.