Add @UnstableApi to TcpDnsResponseEncoder (#11526)

Motivation:

We should mark TcpDnsResponseEncoder as unstable

Modifications:

Add annotation

Result:

Mark the encoder as unstable
This commit is contained in:
Norman Maurer 2021-07-28 19:53:08 +02:00
parent 4c78c93a62
commit 1d39dd5195
2 changed files with 3 additions and 0 deletions

View File

@ -20,9 +20,11 @@ import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.MessageToMessageEncoder;
import io.netty.util.internal.ObjectUtil;
import io.netty.util.internal.UnstableApi;
import java.util.List;
@UnstableApi
@ChannelHandler.Sharable
public final class TcpDnsResponseEncoder extends MessageToMessageEncoder<DnsResponse> {
private final DnsRecordEncoder encoder;

View File

@ -973,6 +973,7 @@
<exclude>io.netty.util.internal.shaded</exclude>
<!-- Added to fix false-positive -->
<exclude>io.netty.handler.codec.dns.TcpDnsQueryDecoder</exclude>
<exclude>io.netty.handler.codec.dns.TcpDnsResponseEncoder</exclude>
</excludes>
</parameter>
<skip>${skipJapicmp}</skip>