Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
Removed usage of now deprecated Jetty function
luccioman7223a2fdb14e
diff --git a/source/net/yacy/http/InetPathAccessHandler.java b/source/net/yacy/http/InetPathAccessHandler.javaindex 3424c7857..3c1e92092 100644--- a/source/net/yacy/http/InetPathAccessHandler.java+++ b/source/net/yacy/http/InetPathAccessHandler.java@@ -31,6 +31,7 @@ import org.eclipse.jetty.http.pathmap.PathMappings;import org.eclipse.jetty.http.pathmap.PathSpec;import org.eclipse.jetty.server.handler.InetAccessHandler;import org.eclipse.jetty.util.InetAddressSet;+import org.eclipse.jetty.util.component.DumpableCollection;/*** InetPathAccessHandler Access Handler@@ -167,7 +168,9 @@ public class InetPathAccessHandler extends InetAccessHandler {@Overridepublic void dump(final Appendable out, final String indent) throws IOException {- this.dumpBeans(out, indent, this.white.getMappings(), this.black.getMappings());+ dumpObjects(out, indent,+ DumpableCollection.from("white", this.white.getMappings()),+ DumpableCollection.from("black", this.black.getMappings()));}}