@override added

This commit is contained in:
xjoao 2020-05-29 22:25:23 -04:00
parent 17299bf160
commit 3feea72105

View File

@ -20,7 +20,14 @@ public class ClientMessage {
public int getMessageId() { public int getMessageId() {
return this.header; return this.header;
} }
/**
*
* @return
* @throws CloneNotSupportedException
*/
@Override
public ClientMessage clone() throws CloneNotSupportedException { public ClientMessage clone() throws CloneNotSupportedException {
return new ClientMessage(this.header, this.buffer.duplicate()); return new ClientMessage(this.header, this.buffer.duplicate());
} }