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

Bob Tarling <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: bobtarling
Date: 2009-08-18 13:28:29-0700
New Revision: 17282

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

Log:
Add some more info in debug

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=17282&r1=17281&r2=17282
==============================================================================
--- 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	2009-08-18 13:28:29-0700
@@ -286,14 +286,15 @@
         }
 
         ENamedElement feature = (ENamedElement) notification.getFeature();
-        String featureName = feature == null ? "" : feature.getName();
+        String featureName = feature == null ? "" : feature.getName(); //$NON-NLS-1$
         String oldValue = notification.getOldValue() != null ? notification.getOldValue().toString() : "Null";
         String newValue = notification.getNewValue() != null ? notification.getNewValue().toString() : "Null";
 //        LOG.debug(notification.toString());
-        LOG.debug("event  - Property: "
+        LOG.debug("event  - Property: " //$NON-NLS-1$
                 + featureName 
-                + " Old: " + oldValue
-                + " New: " + newValue);
+                + " Old: " + oldValue //$NON-NLS-1$
+                + " New: " + newValue //$NON-NLS-1$
+                + " From: " + notification.getNotifier()); //$NON-NLS-1$
         
         class EventAndListeners {
             public EventAndListeners(PropertyChangeEvent e,

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

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.