svn commit: r15391 - trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/ExtensionMechanismsHelperEUMLImpl.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2008-07-28 12:22:06-0700
New Revision: 15391

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

Log:
Make sure all methods that are spec'd to return a Collection do so even if unimplemented.

Modified: trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/ExtensionMechanismsHelperEUMLImpl.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/ExtensionMechanismsHelperEUMLImpl.java?view=diff&rev=15391&p1=trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/ExtensionMechanismsHelperEUMLImpl.java&p2=trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/ExtensionMechanismsHelperEUMLImpl.java&r1=15390&r2=15391
==============================================================================
--- trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/ExtensionMechanismsHelperEUMLImpl.java	(original)
+++ trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/ExtensionMechanismsHelperEUMLImpl.java	2008-07-28 12:22:06-0700
@@ -1,5 +1,5 @@
 // $Id$
-// Copyright (c) 2007, The ArgoUML Project
+// Copyright (c) 2007,2008 Tom Morris and other contributors
 // All rights reserved.
 //
 // Redistribution and use in source and binary forms, with or without
@@ -75,7 +75,7 @@
     public Collection getAllPossibleStereotypes(Collection models,
             Object modelElement) {
         // TODO: Auto-generated method stub
-        return Collections.EMPTY_LIST;
+        return Collections.emptySet();
     }
 
     public String getMetaModelName(Object m) {
@@ -107,12 +107,12 @@
 
     public Collection getStereotypes(Object ns) {
         // TODO: Auto-generated method stub
-        return null;
+        return Collections.emptySet();
     }
 
     public Collection getStereotypes(Collection models) {
         // TODO: Auto-generated method stub
-        return null;
+        return Collections.emptySet();
     }
 
     /**
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.