Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-3029 Host specific max. and min. intervals in adaptive scheduler

Markus Jelsmaa8ec17ca853b
diff --git a/src/java/org/apache/nutch/crawl/AdaptiveFetchSchedule.java b/src/java/org/apache/nutch/crawl/AdaptiveFetchSchedule.java
index 4d4a3af73..64719cdae 100644
--- a/src/java/org/apache/nutch/crawl/AdaptiveFetchSchedule.java
+++ b/src/java/org/apache/nutch/crawl/AdaptiveFetchSchedule.java
@@ -192,6 +192,7 @@ public class AdaptiveFetchSchedule extends AbstractFetchSchedule {
*
* @param url url to get hostname for
* @return hostname
+ * @throws URISyntaxException
*/
public static String getHostName(String url) throws URISyntaxException {
URI uri = new URI(url);