mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-24 01:31:44 +00:00
Upgrade all maven dependencies for 2022 (#377)
This also fixes compilation with JDK 17.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user