Revised Code Style

This commit is contained in:
DieGurke 2020-03-24 21:57:59 +01:00
parent 28fb3e9d25
commit 60fbd2a000

View File

@ -17,7 +17,7 @@ public class Group extends Contact {
private static final long serialVersionUID = 0L;
// TODO add admins
private List<Long> memberIDs = new ArrayList<>();
private List<Long> 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}.