Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

Oops, accidentally committed my local System.out debugging as part of NUTCH-1211: removing.

Chris Mattmann247061d2b331
diff --git a/src/plugin/urlfilter-regex/src/java/org/apache/nutch/urlfilter/regex/RegexURLFilter.java b/src/plugin/urlfilter-regex/src/java/org/apache/nutch/urlfilter/regex/RegexURLFilter.java
index d2b34eb89..6778bcb3f 100644
--- a/src/plugin/urlfilter-regex/src/java/org/apache/nutch/urlfilter/regex/RegexURLFilter.java
+++ b/src/plugin/urlfilter-regex/src/java/org/apache/nutch/urlfilter/regex/RegexURLFilter.java
@@ -99,15 +99,7 @@ public class RegexURLFilter extends RegexURLFilterBase {
}
protected boolean match(String url) {
- boolean matched = pattern.matcher(url).find();
- if(url.indexOf("at_download") != -1){
- System.out.println("@#((#(#@ EVALUATING at_download LINK!: ["+url+"]: matched? ["+matched+"]");
- }
- else
- {System.out.println("URL: ["+url+"] doesn't have at_download in it!");
- }
- return matched;
- //return pattern.matcher(url).find();
+ return pattern.matcher(url).find();
}
}