Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

remove redundant code

Michael Peter Christen6c2e6f1f37e1
diff --git a/htroot/Crawler_p.java b/htroot/Crawler_p.java
index 92882cd67..7f2862ba5 100644
--- a/htroot/Crawler_p.java
+++ b/htroot/Crawler_p.java
@@ -429,14 +429,7 @@ public class Crawler_p {
prop.put("info", "4"); // crawlfilter does not match url
prop.putHTML("info_newcrawlingfilter", newcrawlingMustMatch);
prop.putHTML("info_error", e.getMessage());
- }
- try {
- Pattern.compile(newcrawlingMustNotMatch);
- } catch (final PatternSyntaxException e) {
- prop.put("info", "4"); // crawlfilter does not match url
- prop.putHTML("info_newcrawlingfilter", newcrawlingMustNotMatch);
- prop.putHTML("info_error", e.getMessage());
- }
+ }
boolean hasCrawlstartDataOK = !crawlName.isEmpty();
if (hasCrawlstartDataOK) {