svn commit: r19289 - trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/ModelEventPumpEUMLImpl.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: bobtarling
Date: 2011-04-27 03:19:37-0700
New Revision: 19289

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

Log:
Cut and paste error

Modified: trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/ModelEventPumpEUMLImpl.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/ModelEventPumpEUMLImpl.java?view=diff&pathrev=19289&r1=19288&r2=19289
==============================================================================
--- trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/ModelEventPumpEUMLImpl.java	(original)
+++ trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/ModelEventPumpEUMLImpl.java	2011-04-27 03:19:37-0700
@@ -467,9 +467,11 @@
                 for (EventListener l : e.listeners) {
                     if (l instanceof AssociationChangeListener) {
                         if (e.event instanceof AddAssociationEvent) {
-                            ((AssociationChangeListener) l).elementAdded((AddAssociationEvent) e.event);
+                            ((AssociationChangeListener) l).elementAdded(
+                                    (AddAssociationEvent) e.event);
                         } else if (e.event instanceof RemoveAssociationEvent) {
-                            ((AssociationChangeListener) l).elementAdded((AddAssociationEvent) e.event);
+                            ((AssociationChangeListener) l).elementRemoved(
+                                    (RemoveAssociationEvent) e.event);
                         }
                     } else if (l instanceof PropertyChangeListener) {
                         ((PropertyChangeListener) l).propertyChange(e.event);

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

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.