Apache Nutch is an extensible and scalable web crawler
NUTCH-2896 Protocol-okhttp: make connection pool configurable - fix javadoc error
Sebastian Nagel467e59105152
diff --git a/src/plugin/protocol-okhttp/src/java/org/apache/nutch/protocol/okhttp/OkHttp.java b/src/plugin/protocol-okhttp/src/java/org/apache/nutch/protocol/okhttp/OkHttp.javaindex 09eb1a5ef..9fbcda745 100644--- a/src/plugin/protocol-okhttp/src/java/org/apache/nutch/protocol/okhttp/OkHttp.java+++ b/src/plugin/protocol-okhttp/src/java/org/apache/nutch/protocol/okhttp/OkHttp.java@@ -365,7 +365,13 @@ public class OkHttp extends HttpBase {return this.customRequestHeaders;}- /** Distribute hosts over clients by host name */+ /**+ * Distribute hosts over clients by host name+ *+ * @param url+ * URL to fetch+ * @return client responsible to fetch the given URL+ */protected OkHttpClient getClient(URL url) {if (this.clients.length == 1) {return this.clients[0];