svn commit: r19443 - trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/UmlFactoryEUMLImpl.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: bobtarling
Date: 2011-05-17 00:01:34-0700
New Revision: 19443

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

Log:
Instance doesn't exist in UML2

Modified: trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/UmlFactoryEUMLImpl.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/UmlFactoryEUMLImpl.java?view=diff&pathrev=19443&r1=19442&r2=19443
==============================================================================
--- trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/UmlFactoryEUMLImpl.java	(original)
+++ trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/UmlFactoryEUMLImpl.java	2011-05-17 00:01:34-0700
@@ -338,9 +338,6 @@
             o = modelImpl.getModelManagementFactory().createProfile();
         } else if (elementType == metaTypes.getModel()) {
             o = modelImpl.getModelManagementFactory().createModel();
-        } else if (elementType == metaTypes.getInstance()) {
-            throw new IllegalArgumentException(
-                    "Attempt to instantiate abstract type"); //$NON-NLS-1$
         } else if (elementType == metaTypes.getActivity()) {
             o = modelImpl.getActivityGraphsFactory().createActivityGraph();
         } else if (elementType == metaTypes.getCallBehaviorAction()) {

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

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.