forked from meissa/ModeratorElection
[skip ci] some linting
This commit is contained in:
parent
76336077a2
commit
a2793c19a4
1 changed files with 3 additions and 2 deletions
|
@ -40,8 +40,9 @@ public class MainView extends VerticalLayout {
|
|||
|
||||
Button electNow = new Button("Elect!", buttonClickEvent -> {
|
||||
try {
|
||||
ArrayList checkboxSelectedMembers = new ArrayList(checkboxGroup.getSelectedItems());
|
||||
Notification moderatorNotification = new Notification()
|
||||
ArrayList<String> checkboxSelectedMembers = new ArrayList<>(checkboxGroup.getSelectedItems());
|
||||
new Notification();
|
||||
Notification moderatorNotification = Notification
|
||||
.show("Nächster Moderator: " + electMember(checkboxSelectedMembers));
|
||||
moderatorNotification.setPosition(Notification.Position.BOTTOM_CENTER);
|
||||
} catch(Exception exceptionEvent) {
|
||||
|
|
Loading…
Reference in a new issue