Update of /var/cvs/src/org/mmbase/core/event
In directory james.mmbase.org:/tmp/cvs-serv22432
Modified Files:
Event.java
Log Message:
using static machine name everywhere
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.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- Event.java 1 Aug 2008 08:01:25 -0000 1.13
+++ Event.java 1 Aug 2008 19:21:04 -0000 1.14
@@ -8,14 +8,14 @@
import java.io.Serializable;
-import org.mmbase.module.core.MMBase;
+import org.mmbase.module.core.MMBaseContext;
/**
* This class is the base class for all mmbase events
*
* @author Ernst Bunders
* @since MMBase-1.8
- * @version $Id: Event.java,v 1.13 2008/08/01 08:01:25 michiel Exp $
+ * @version $Id: Event.java,v 1.14 2008/08/01 19:21:04 michiel Exp $
*/
public abstract class Event implements Serializable,
org.mmbase.util.PublicCloneable {
@@ -30,13 +30,13 @@
/**
* Every event originates from a certain machine, which is identified by a
String.
- * If this equals [EMAIL PROTECTED] MMBase#getMachineName()} then this is
a local event.
+ * If this equals [EMAIL PROTECTED] MMBaseContext.getMachineName()} then
this is a local event.
*/
public String getMachine() {
return machine;
}
public boolean isLocal() {
- return MMBase.getMachineName().equals(machine);
+ return MMBaseContext.getMachineName().equals(machine);
}
@@ -54,7 +54,7 @@
*/
public Event(String machine, int type) {
this.machine = machine == null ?
- MMBase.getMMBase().getMachineName() :
+ MMBaseContext.getMachineName() :
machine;
this.eventType = type;
}
@@ -67,7 +67,7 @@
* @since MMBase-1.8.4
*/
public Event() {
- this(MMBase.getMMBase().getMachineName());
+ this(MMBaseContext.getMachineName());
}
public Object clone(){
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs