DatagramPacket should be final

This commit is contained in:
Norman Maurer 2012-12-17 20:37:10 +01:00
parent 949435d105
commit 5a467b69bf

View File

@ -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;