From 60fbd2a000de28ef92785b1db87f6d57bbdf63bd Mon Sep 17 00:00:00 2001 From: DieGurke <55625494+DieGurke@users.noreply.github.com> Date: Tue, 24 Mar 2020 21:57:59 +0100 Subject: [PATCH] Revised Code Style --- src/main/java/envoy/data/Group.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/envoy/data/Group.java b/src/main/java/envoy/data/Group.java index cab866f..4c662cc 100644 --- a/src/main/java/envoy/data/Group.java +++ b/src/main/java/envoy/data/Group.java @@ -17,7 +17,7 @@ public class Group extends Contact { private static final long serialVersionUID = 0L; // TODO add admins - private List memberIDs = new ArrayList<>(); + private List memberIDs; /** * Creates a new instance of a {@link Group}. @@ -26,7 +26,7 @@ public class Group extends Contact { * @param name the name of this group * @since Envoy Common v0.1-beta */ - public Group(long id, String name) { super(id, name); } + public Group(long id, String name) { this(id, name, new ArrayList<>()); } /** * Creates a new instance of a {@link Group}.