Login | Register
My pages Projects Community openCollabNet

Discussions > Commit Messages > svn commit: r19103 - trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/ModelManagementHelperEUMLImpl.java

argouml
Discussion topic

Back to topic list

svn commit: r19103 - trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/ModelManagementHelperEUMLImpl.java

Author thn
Full name Thomas Neustupny
Date 2011-03-03 13:02:52 PST
Message Author: thn
Date: 2011-03-03 13:02:51-0800
New Revision: 19103

Modified:
   trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/ModelManagementHelp​erEUMLImpl.java

Log:
profile applications should not cause exceptions

Modified: trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/ModelManagementHelp​erEUMLImpl.java
Url: http://argouml.tigri​s.org/source/browse/​argouml/trunk/src/ar​gouml-core-model-eum​l/src/org/argouml/mo​del/euml/ModelManage​mentHelperEUMLImpl.j​ava?view=diff&pa​threv=19103&r1=1​9102&r2=19103
====================​====================​====================​==================
--- trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/ModelManagementHelp​erEUMLImpl.java (original)
+++ trunk/src/argouml-co​re-model-euml/src/or​g/argouml/model/euml​/ModelManagementHelp​erEUMLImpl.java 2011-03-03 13:02:51-0800
@@ -91,8 +91,7 @@
 
     public Collection getAllModelElementsO​fKind(Object nsa, Object type) {
         if (!(nsa instanceof Element)) {
- throw new IllegalArgumentException(
- "nsa must be instance of Element"); //$NON-NLS-1$
+ return new ArrayList<Element>();
         }
         Class theType = null;
         if (type instanceof String) {

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r19103 - trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/ModelManagementHelperEUMLImpl.java thn Thomas Neustupny 2011-03-03 13:02:52 PST
Messages per page: