Merge branch 'patch-34' into 'dev'

@override added

See merge request morningstar/Arcturus-Community!216
This commit is contained in:
Mike 2020-06-01 08:51:12 -04:00
commit 29c3dfbb49

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());
} }