Skip to content

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

Removed usage of now deprecated Jetty function

luccioman7223a2fdb14e
diff --git a/source/net/yacy/http/InetPathAccessHandler.java b/source/net/yacy/http/InetPathAccessHandler.java
index 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 {
@Override
public 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()));
}
}