Skip to content
Permalink
Browse files

Removed usage of now deprecated Jetty function

  • Loading branch information...
luccioman committed Dec 22, 2018
1 parent 1b71c6b commit 7223a2fdb14ec61e62705b09702a861085beb16b
Showing with 4 additions and 1 deletion.
  1. +4 −1 source/net/yacy/http/InetPathAccessHandler.java
@@ -31,6 +31,7 @@
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 @@ protected boolean isAllowed(final InetAddress address, final String path) {

@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()));
}

}

0 comments on commit 7223a2f

Please sign in to comment.
You can’t perform that action at this time.