1

decrease visibility of applyEvent methods + new testbuilder

This commit is contained in:
Christoph
2020-03-24 15:20:35 +01:00
parent e61e9d3d25
commit 6ba4ba82de
8 changed files with 209 additions and 8 deletions

View File

@ -25,7 +25,7 @@ public class UpdateRoleEvent extends Event {
}
@Override
public void applyEvent(Group group) throws UserNotFoundException {
protected void applyEvent(Group group) throws UserNotFoundException {
if (group.getRoles().containsKey(this.userId)) {
group.getRoles().put(this.userId, this.newRole);
return;