From 97dd51b8ec4cadc8febcc9790c3a20c4037fabbc Mon Sep 17 00:00:00 2001 From: bconlon Date: Wed, 28 Dec 2022 20:34:38 -0800 Subject: [PATCH] refactor: Protect User constructor --- src/main/java/com/gildedgames/nitrogen/api/users/User.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gildedgames/nitrogen/api/users/User.java b/src/main/java/com/gildedgames/nitrogen/api/users/User.java index 5b96c88..bfb17a3 100644 --- a/src/main/java/com/gildedgames/nitrogen/api/users/User.java +++ b/src/main/java/com/gildedgames/nitrogen/api/users/User.java @@ -9,7 +9,7 @@ public class User { private final List roles = new ArrayList<>(); - public User() { } + protected User() { } public List getRoles() { return this.roles;