fps: Final field

This commit is contained in:
sdburns1998
2019-07-07 05:12:06 +02:00
parent 97d2008ca6
commit d1a4c9dc8b

View File

@@ -54,7 +54,7 @@ public class FpsDrawListener implements Runnable
// Working set
private long lastMillis = 0;
private long[] lastDelays = new long[SAMPLE_SIZE];
private final long[] lastDelays = new long[SAMPLE_SIZE];
private int lastDelayIndex = 0;
private long sleepDelay = 0;