diff --git a/transport/src/main/java/io/netty/channel/socket/DatagramPacket.java b/transport/src/main/java/io/netty/channel/socket/DatagramPacket.java index dc1379f588..161ed5c3f6 100644 --- a/transport/src/main/java/io/netty/channel/socket/DatagramPacket.java +++ b/transport/src/main/java/io/netty/channel/socket/DatagramPacket.java @@ -22,7 +22,7 @@ import java.net.InetSocketAddress; /** * The message container that is used for {@link DatagramChannel} to communicate with the remote peer. */ -public class DatagramPacket { +public final class DatagramPacket { private final ByteBuf data; private final InetSocketAddress remoteAddress;