Author: ab
Date: Fri Feb 24 02:40:05 2006
New Revision: 380638

URL: http://svn.apache.org/viewcvs?rev=380638&view=rev
Log:
Set the configuration early - updateSegments() needs it.
Noticed by Heiko Dietze.

Modified:
    lucene/nutch/trunk/src/java/org/apache/nutch/searcher/DistributedSearch.java

Modified: 
lucene/nutch/trunk/src/java/org/apache/nutch/searcher/DistributedSearch.java
URL: 
http://svn.apache.org/viewcvs/lucene/nutch/trunk/src/java/org/apache/nutch/searcher/DistributedSearch.java?rev=380638&r1=380637&r2=380638&view=diff
==============================================================================
--- 
lucene/nutch/trunk/src/java/org/apache/nutch/searcher/DistributedSearch.java 
(original)
+++ 
lucene/nutch/trunk/src/java/org/apache/nutch/searcher/DistributedSearch.java 
Fri Feb 24 02:40:05 2006
@@ -117,11 +117,11 @@
 
     /** Construct a client talking to the named servers. */
     public Client(InetSocketAddress[] addresses, Configuration conf) throws 
IOException {
+      this.conf = conf;
       this.defaultAddresses = addresses;
       updateSegments();
       setDaemon(true);
       start();
-      this.conf = conf;
     }
     
     private static final Method GET_SEGMENTS;


Reply via email to