Author: linus
Date: 2010-01-06 06:47:29-0800
New Revision: 17738

Modified:
   trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/FacadeMDRImpl.java

Log:
In the UML 1.4/MDR implementation, the handle can never be valid.

Modified: 
trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/FacadeMDRImpl.java
Url: 
http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/FacadeMDRImpl.java?view=diff&pathrev=17738&r1=17737&r2=17738
==============================================================================
--- 
trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/FacadeMDRImpl.java   
    (original)
+++ 
trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/FacadeMDRImpl.java   
    2010-01-06 06:47:29-0800
@@ -13,7 +13,8 @@
  *    Tom Morris - UML 1.4 
  *    
  
*******************************************************************************
- */// Copyright (c) 2005-2009 The Regents of the University of California. All
+ */
+// Copyright (c) 2005-2009 The Regents of the University of California. All
 // Rights Reserved. Permission to use, copy, modify, and distribute this
 // software and its documentation without fee, and without a written
 // agreement is hereby granted, provided that the above copyright notice
@@ -4563,7 +4564,7 @@
 
 
     public Collection getTargets(Object handle) {
-        return Collections.emptySet();
+        return illegalArgumentCollection(handle);
     }
 
     public boolean isADirectedRelationship(Object handle) {

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

To unsubscribe from this discussion, e-mail: 
[[email protected]].

Reply via email to