svn commit: r19112 - trunk/src/argouml-app/src/org/argouml/profile/internal/ProfileUML.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: thn
Date: 2011-03-10 08:35:35-0800
New Revision: 19112

Modified:
   trunk/src/argouml-app/src/org/argouml/profile/internal/ProfileUML.java

Log:
UML2: no default type

Modified: trunk/src/argouml-app/src/org/argouml/profile/internal/ProfileUML.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/profile/internal/ProfileUML.java?view=diff&pathrev=19112&r1=19111&r2=19112
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/profile/internal/ProfileUML.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/profile/internal/ProfileUML.java	2011-03-10 08:35:35-0800
@@ -519,16 +519,8 @@
                 if (Model.getFacade().getUmlVersion().charAt(0) == '1') {
                     return ModelUtils.findTypeInModel("Integer", model
                             .iterator().next());
-                //} else {
-                    // why Integer, better let's use String
-                    // TODO: has nothing to do with tagged values
-                //    for (Object t : Model.getExtensionMechanismsHelper().getCommonTaggedValueTypes()) {
-                //        if ("String".equals(Model.getFacade().getName(t))) {
-                //            return t;
-                //        }
-                //    }
                 }
-                // this must not happen
+                // no default type for UML2
                 return null;
             }
         };

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

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.