[MOBY-guts] biomoby commit
Martin Senger
senger at pub.open-bio.org
Thu Oct 27 04:15:24 UTC 2005
senger
Thu Oct 27 00:15:24 EDT 2005
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/event
In directory pub.open-bio.org:/tmp/cvs-serv2749/src/main/org/biomoby/shared/event
Modified Files:
NotificationEvent.java
Log Message:
moby-live/Java/src/main/org/biomoby/shared/event NotificationEvent.java,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/event/NotificationEvent.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/event/NotificationEvent.java 2005/10/22 01:38:04 1.2
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/event/NotificationEvent.java 2005/10/27 04:15:23 1.3
@@ -8,6 +8,7 @@
package org.biomoby.shared.event;
+import org.tulsoft.shared.UUtils;
import java.util.EventObject;
/**
@@ -98,7 +99,8 @@
StringBuffer buf = new StringBuffer (100);
buf.append ("[");
buf.append (typeStr);
- buf.append (", Message=" + message);
+ if (UUtils.notEmpty (message))
+ buf.append (", Message=" + message);
if (details != null)
buf.append (", Details=" + details.getClass().getName());
buf.append ("]");
More information about the MOBY-guts
mailing list