Upgrade all maven dependencies for 2022 (#377)

This also fixes compilation with JDK 17.
This commit is contained in:
Tyler Veness
2022-01-08 10:17:28 -08:00
committed by GitHub
parent 0f730fc28d
commit a161bd5be9
9 changed files with 39 additions and 29 deletions

View File

@@ -65,8 +65,7 @@ public class ScriptManager {
private void handleEvent(ScriptEventType eventType) {
var toRun =
events
.parallelStream()
events.parallelStream()
.filter(e -> e.config.eventType == eventType)
.findFirst()
.orElse(null);