Skip to content

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

performance enhancement to yacyURL: omit second processing of resolveBackpath. This method is already applied during initialization of the object and was called a second time when the url was exportet.

orbiter7542336ae528
diff --git a/source/de/anomic/yacy/yacyURL.java b/source/de/anomic/yacy/yacyURL.java
index c6df64bf2..b65a54af3 100644
--- a/source/de/anomic/yacy/yacyURL.java
+++ b/source/de/anomic/yacy/yacyURL.java
@@ -568,7 +568,7 @@ public class yacyURL implements Serializable {
} else if (this.protocol.equals("https")) {
if (this.port < 0 || this.port == 443) { defaultPort = true; }
}
- final String path = resolveBackpath(this.getFile(includeReference));
+ final String path = this.getFile(includeReference);
if (defaultPort) {
return this.protocol + "://" +