Skip to content

Commit 47a1070

Browse files
committed
Fixed deprecation warning
1 parent ba711d7 commit 47a1070

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/AsyncServerBootstrap.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@
5959
import org.apache.hc.core5.http.nio.support.DefaultAsyncResponseExchangeHandlerFactory;
6060
import org.apache.hc.core5.http.nio.support.TerminalAsyncServerFilter;
6161
import org.apache.hc.core5.http.protocol.HttpProcessor;
62-
import org.apache.hc.core5.http.protocol.LookupRegistry;
6362
import org.apache.hc.core5.http.protocol.UriPatternType;
6463
import org.apache.hc.core5.net.InetAddressUtils;
6564
import org.apache.hc.core5.net.URIAuthority;
@@ -238,7 +237,7 @@ public final AsyncServerBootstrap setIOSessionListener(final IOSessionListener s
238237
* @deprecated Use {@link RequestRouter}.
239238
*/
240239
@Deprecated
241-
public final AsyncServerBootstrap setLookupRegistry(final LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry) {
240+
public final AsyncServerBootstrap setLookupRegistry(final org.apache.hc.core5.http.protocol.LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry) {
242241
this.lookupRegistry = lookupRegistry;
243242
return this;
244243
}

0 commit comments

Comments
 (0)