[MOBY-guts] biomoby commit

Martin Senger senger at pub.open-bio.org
Fri Oct 28 07:58:08 UTC 2005


senger
Fri Oct 28 03:58:08 EDT 2005
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client
In directory pub.open-bio.org:/tmp/cvs-serv12421/src/main/org/biomoby/client

Modified Files:
	CentralDigestImpl.java 
Log Message:


moby-live/Java/src/main/org/biomoby/client CentralDigestImpl.java,1.8,1.9
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralDigestImpl.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralDigestImpl.java	2005/10/27 04:15:23	1.8
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralDigestImpl.java	2005/10/28 07:58:08	1.9
@@ -385,9 +385,16 @@
     public void fireEvent (int type, Object message, Object details) {
 	NotificationEvent event = null;
 	if (details == null)
-	    event = new NotificationEvent (this, type, message.toString());
+	    event = new NotificationEvent (this, type, message);
 	else
-	    event = new NotificationEvent (this, type, message.toString(), details);
+	    event = new NotificationEvent (this, type, message, details);
+	fireEvent (event);
+    }
+
+    /*********************************************************************
+     *
+     ********************************************************************/
+    public void fireEvent (NotificationEvent event) {
 	if (listeners != null) {
 	    synchronized (listeners) {
 		for (int i = 0; i < listeners.size(); i++) {




More information about the MOBY-guts mailing list