colus 02/03/01 06:10:21
Modified: apps/overlord/src/java/org/apache/avalon/overlord/collectors
SocketCollector.java
Log:
Fix misused of getChild.
Revision Changes Path
1.4 +1 -2
jakarta-avalon-cornerstone/apps/overlord/src/java/org/apache/avalon/overlord/collectors/SocketCollector.java
Index: SocketCollector.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-cornerstone/apps/overlord/src/java/org/apache/avalon/overlord/collectors/SocketCollector.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- SocketCollector.java 14 Feb 2002 13:47:40 -0000 1.3
+++ SocketCollector.java 1 Mar 2002 14:10:21 -0000 1.4
@@ -10,7 +10,6 @@
import java.io.IOException;
import java.net.InetAddress;
import java.net.Socket;
-import org.apache.avalon.framework.activity.Disposable;
import org.apache.avalon.framework.activity.Initializable;
import org.apache.avalon.framework.component.ComponentException;
import org.apache.avalon.framework.component.ComponentManager;
@@ -57,7 +56,7 @@
final Configuration connConf = configuration.getChild( "connection"
);
m_host = connConf.getChild( "host" ).getValue();
m_port = connConf.getChild( "port" ).getValueAsInteger();
- m_socketType = connConf.getChild( "type", true ).getValue( "plain" );
+ m_socketType = connConf.getChild( "type" ).getValue( "plain" );
}
public void initialize()
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>