Fix JavaDoc of RuleBasedIpFilter (#10521)

Motivation:

`RuleBasedIpFilter` had JavaDoc `{@link #channelRejected(ChannelHandlerContext, SocketAddress)}` instead of `{@link AbstractRemoteAddressFilter#channelRejected(ChannelHandlerContext, SocketAddress)}`.

Modification:
Added `AbstractRemoteAddressFilter` reference.

Result:
Fixed JavaDoc error and made documentation more clear.
This commit is contained in:
Aayush Atharva 2020-09-01 14:32:10 +05:30 committed by GitHub
parent d487086a2c
commit 39c840d711
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ import java.net.SocketAddress;
* will be accepted. * will be accepted.
* *
* If you would like to explicitly take action on rejected {@link Channel}s, you should override * If you would like to explicitly take action on rejected {@link Channel}s, you should override
* {@link #channelRejected(ChannelHandlerContext, SocketAddress)}. * {@link AbstractRemoteAddressFilter#channelRejected(ChannelHandlerContext, SocketAddress)}.
*/ */
@Sharable @Sharable
public class RuleBasedIpFilter extends AbstractRemoteAddressFilter<InetSocketAddress> { public class RuleBasedIpFilter extends AbstractRemoteAddressFilter<InetSocketAddress> {