mirror of
https://github.com/samsonjs/media.git
synced 2026-04-25 14:47: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;
|
||||
|
||||
public EventLogger() {
|
||||
firstLogs = new ArrayList<>();
|
||||
lastLogs = new ArrayDeque<>();
|
||||
firstLogs = new ArrayList<>(MAX_FIRST_LAST_LOGS);
|
||||
lastLogs = new ArrayDeque<>(MAX_FIRST_LAST_LOGS);
|
||||
totalCount = 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue