Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
remove unused rootpattern, leftover from commit https://github.com/yacy/yacy_search_server/commit/9a5ab4e2c141ac9ef9f45c6524f2352ab7c3789c#diff-d2b184283abed53ae260fc9eabdaef40
regere73c1eea8c17
diff --git a/source/net/yacy/cora/document/id/DigestURL.java b/source/net/yacy/cora/document/id/DigestURL.javaindex 921578186..d7d356cb6 100644--- a/source/net/yacy/cora/document/id/DigestURL.java+++ b/source/net/yacy/cora/document/id/DigestURL.java@@ -243,7 +243,7 @@ public class DigestURL extends MultiProtocolURL implements Serializable {// find rootpathfinal String normalizedPath;- if (this.isFile() && this.path.indexOf('\\') > -1) // for file protocol normalize path to java notation+ if (this.isFile() && this.path.indexOf('\\') >= 0) // for file protocol normalize path to java notationnormalizedPath = this.path.replace('\\','/'); // replace possible Windows pathseparatorelsenormalizedPath = this.path;@@ -297,7 +297,6 @@ public class DigestURL extends MultiProtocolURL implements Serializable {return Base64Order.enhancedCoder.encode(Digest.encodeMD5Raw(sb.toString())).charAt(0);}- public final static Pattern rootPattern = Pattern.compile("/|/\\?|/index.htm(l?)|/index.php|/home.htm(l?)|/home.php|/default.htm(l?)|/default.php");private static final String hosthash5(final String protocol, final String host, final int port) {if (host == null) {