diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/service/ResourceService.java b/src/main/java/ch/ethz/seb/sebserver/gui/service/ResourceService.java index f8892869..3aefd570 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/service/ResourceService.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/service/ResourceService.java @@ -17,7 +17,6 @@ import java.util.List; import java.util.Locale; import java.util.Map; import java.util.function.Function; -import java.util.function.Predicate; import java.util.function.Supplier; import java.util.stream.Collectors; @@ -146,7 +145,7 @@ public class ResourceService { public List> clientEventTypeResources() { return Arrays.asList(EventType.values()) .stream() - .filter(Predicate.not(CLIENT_EVENT_TYPE_EXCLUDE_MAP::contains)) + .filter(eventType -> !CLIENT_EVENT_TYPE_EXCLUDE_MAP.contains(eventType)) .map(eventType -> new Tuple<>( eventType.name(), getEventTypeName(eventType))) diff --git a/src/main/resources/messages.properties b/src/main/resources/messages.properties index 3615d04d..ca97e301 100644 --- a/src/main/resources/messages.properties +++ b/src/main/resources/messages.properties @@ -979,6 +979,7 @@ sebserver.seblogs.list.title=SEB Client Logs sebserver.seblogs.list.actions=Selected Log sebserver.seblogs.list.empty=No SEB client logs has been found. Please adapt or clear the filter +sebserver.seblogs.info.pleaseSelect=Please select a log from the list sebserver.seblogs.list.column.exam=Exam sebserver.seblogs.list.column.client-session=User Session-ID sebserver.seblogs.list.column.type=Event Type