public Eventd() {</BUG>
super("OpenNMS.Eventd");
}
protected void onInit() {
Assert.state(m_eventdServiceManager != null, "property eventdServiceManager must be set");
<BUG>Assert.state(m_tcpReceiver != null, "property tcpReceiver must be set");

Assert.state(m_udpReceiver != null, "property udpReceiver must be set");</BUG>
Assert.state(m_receiver != null, "property receiver must be set");
<BUG>Assert.state(m_localHostAddress != null, "property localHostAddress must be set");</BUG>
m_eventdServiceManager.dataSourceSync();
<BUG>m_tcpReceiver.addEventHandler(this);
m_udpReceiver.addEventHandler(this);</BUG>
}

import org.springframework.util.Assert;
public final class Eventd extends AbstractServiceDaemon {
public static final String LOG4J_CATEGORY = "OpenNMS.Eventd";
private BroadcastEventProcessor m_receiver;
private EventdServiceManager m_eventdServiceManager;
private Collection<EventReceiver> m_eventReceivers;
public Eventd() {
super("OpenNMS.Eventd");
}
protected void onInit() {
Assert.state(m_eventdServiceManager != null, "property eventdServiceManager must be set");
Assert.state(m_eventReceivers != null, "property eventReceivers must be set");
Assert.state(m_receiver != null, "property receiver must be set");
