Skip to content

Commit

Permalink
refactor: Protect User constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
bconlon committed Dec 29, 2022
1 parent 8330746 commit 97dd51b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/gildedgames/nitrogen/api/users/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
public class User {
private final List<Role> roles = new ArrayList<>();

public User() { }
protected User() { }

public List<Role> getRoles() {
return this.roles;
Expand Down

0 comments on commit 97dd51b

Please sign in to comment.