mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Init the collection types to the expected size
PiperOrigin-RevId: 558102287
This commit is contained in:
parent
2386b7e944
commit
a5903f5d3e
1 changed files with 2 additions and 2 deletions
|
|
@ -254,8 +254,8 @@ public final class DebugTraceUtil {
|
||||||
private int totalCount;
|
private int totalCount;
|
||||||
|
|
||||||
public EventLogger() {
|
public EventLogger() {
|
||||||
firstLogs = new ArrayList<>();
|
firstLogs = new ArrayList<>(MAX_FIRST_LAST_LOGS);
|
||||||
lastLogs = new ArrayDeque<>();
|
lastLogs = new ArrayDeque<>(MAX_FIRST_LAST_LOGS);
|
||||||
totalCount = 0;
|
totalCount = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue