Remove not needed stream()

This commit is contained in:
chimp1984 2020-09-29 13:02:32 -05:00
parent 94bc2359ed
commit 4c7f6147e9
No known key found for this signature in database
GPG Key ID: 9801B4EC591F90E3

View File

@ -35,7 +35,7 @@ public class MasterTimer {
timer.scheduleAtFixedRate(new TimerTask() {
@Override
public void run() {
UserThread.execute(() -> listeners.stream().forEach(Runnable::run));
UserThread.execute(() -> listeners.forEach(Runnable::run));
}
}, FRAME_INTERVAL_MS, FRAME_INTERVAL_MS);
}