Merge pull request 'Kleiner Fehler' (#68) from chaoscaot-patch-1 into master
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Reviewed-on: #68
Reviewed-by: Lixfel <lixfel@steamwar.de>
Dieser Commit ist enthalten in:
Lixfel 2024-03-16 00:45:27 +01:00
Commit 20c22c47f9

Datei anzeigen

@ -31,7 +31,7 @@ import java.util.stream.Collectors;
public class Referee {
private static final Table<Referee> table = new Table<>(Referee.class);
private static final SelectStatement<Referee> byEvent = table.select("eventID");
private static final SelectStatement<Referee> byEvent = table.selectFields("eventID");
public static Set<Integer> get(int eventID) {
return byEvent.listSelect(eventID).stream().map(referee -> referee.userID).collect(Collectors.toSet());