fix for Java 8
This commit is contained in:
parent
d257a3340e
commit
c1b4755ebb
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ final class OpenEdxCourseAccess {
|
|||
.stream()
|
||||
.filter(qd -> id.equals(qd.id))
|
||||
.findFirst()
|
||||
.orElseThrow();
|
||||
.orElseThrow(() -> new NoSuchElementException("No cached quiz: " + id));
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue