From 1839d28df9aa959ba135ca90aacc088e7817eefc Mon Sep 17 00:00:00 2001 From: anhefti Date: Mon, 17 May 2021 22:48:41 +0200 Subject: [PATCH] fixed for java 8 --- .../servicelayer/lms/impl/olat/OlatLmsAPITemplate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/olat/OlatLmsAPITemplate.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/olat/OlatLmsAPITemplate.java index e6a45dcd..bb653ec0 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/olat/OlatLmsAPITemplate.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/olat/OlatLmsAPITemplate.java @@ -162,7 +162,7 @@ public class OlatLmsAPITemplate extends AbstractCachedCourseAccess implements Lm final HashSet leftIds = new HashSet<>(ids); final Collection result = new ArrayList<>(); ids.stream() - .map(super::getFromCache) + .map(id -> super.getFromCache(id)) .forEach(q -> { if (q != null) { leftIds.remove(q.id);