@Override added

This commit is contained in:
xjoao 2020-06-07 19:15:04 -04:00
parent a0c1973622
commit 8a753895ea

View File

@ -32,6 +32,7 @@ public abstract class RCONMessage<T> {
public abstract void handle(Gson gson, T json); public abstract void handle(Gson gson, T json);
public static class RCONMessageSerializer implements JsonSerializer<RCONMessage> { public static class RCONMessageSerializer implements JsonSerializer<RCONMessage> {
@Override
public JsonElement serialize(final RCONMessage rconMessage, final Type type, final JsonSerializationContext context) { public JsonElement serialize(final RCONMessage rconMessage, final Type type, final JsonSerializationContext context) {
JsonObject result = new JsonObject(); JsonObject result = new JsonObject();
result.add("status", new JsonPrimitive(rconMessage.status)); result.add("status", new JsonPrimitive(rconMessage.status));