svn commit: r16229 - trunk/src/argouml-app/src/org/argouml/ocl/OCLUtil.java

Tom Morris <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2008-12-03 12:34:13-0800
New Revision: 16229

Modified:
   trunk/src/argouml-app/src/org/argouml/ocl/OCLUtil.java

Log:
Add TODO.  No functional change

Modified: trunk/src/argouml-app/src/org/argouml/ocl/OCLUtil.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/ocl/OCLUtil.java?view=diff&pathrev=16229&r1=16228&r2=16229
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/ocl/OCLUtil.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/ocl/OCLUtil.java	2008-12-03 12:34:13-0800
@@ -66,8 +66,10 @@
      * @return the context string for the model element.
      */
     public static String getContextString (final Object me) {
-	if (me == null || !(Model.getFacade().isAModelElement(me)))
+        // TODO: Do we want isaUMLElement here?
+	if (me == null || !(Model.getFacade().isAModelElement(me))) {
 	    return "";
+	}
 	Object mnsContext =
 	    getInnerMostEnclosingNamespace (me);

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

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.