DatagramPacket should be final
This commit is contained in:
parent
949435d105
commit
5a467b69bf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user