From 243f44ef23f0df5c7b307841fa1e3c192d3659a6 Mon Sep 17 00:00:00 2001 From: Marcin Kostrzewski Date: Thu, 29 Oct 2020 11:45:40 +0100 Subject: [PATCH] Added empty constructor --- src/main/java/Main/ProtocolMessage.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/Main/ProtocolMessage.java b/src/main/java/Main/ProtocolMessage.java index 2764e30..9546a81 100644 --- a/src/main/java/Main/ProtocolMessage.java +++ b/src/main/java/Main/ProtocolMessage.java @@ -62,6 +62,9 @@ public class ProtocolMessage { System.arraycopy(message, 0, this.raw, 4, message.length); } + public ProtocolMessage() { + } + public ProtocolMessage(String message) { this.length = message.length(); this.message = message.toCharArray();