From 7223a2fdb14ec61e62705b09702a861085beb16b Mon Sep 17 00:00:00 2001 From: luccioman Date: Sat, 22 Dec 2018 14:42:22 +0100 Subject: [PATCH] Removed usage of now deprecated Jetty function --- source/net/yacy/http/InetPathAccessHandler.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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())); } }