[skip ci] some linting

This commit is contained in:
Mirco 2024-07-09 09:07:03 +02:00
parent 76336077a2
commit a2793c19a4

View file

@ -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) {