Update of /var/cvs/src/org/mmbase/core/event
In directory james.mmbase.org:/tmp/cvs-serv6724
Modified Files:
Event.java
Log Message:
it's not always a good idea to get mmbase, e.g. not during shutdown.
See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/core/event
Index: Event.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/core/event/Event.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- Event.java 26 Jul 2007 11:45:54 -0000 1.12
+++ Event.java 1 Aug 2008 08:01:25 -0000 1.13
@@ -15,7 +15,7 @@
*
* @author Ernst Bunders
* @since MMBase-1.8
- * @version $Id: Event.java,v 1.12 2007/07/26 11:45:54 michiel Exp $
+ * @version $Id: Event.java,v 1.13 2008/08/01 08:01:25 michiel Exp $
*/
public abstract class Event implements Serializable,
org.mmbase.util.PublicCloneable {
@@ -36,7 +36,7 @@
return machine;
}
public boolean isLocal() {
- return MMBase.getMMBase().getMachineName().equals(machine);
+ return MMBase.getMachineName().equals(machine);
}
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs