Fix ensureTotalCapacity calls that should be ensureUnusedCapacity calls

If these functions are called more than once, then the array list would no longer be guaranteed to have enough capacity during the appendAssumeCapacity calls. With ensureUnusedCapacity, they will always be guaranteed to have enough capacity regardless of how many times the function is called.
70ef9bc75cRyan Liptak committed on 11/1/2021, 7:08:41 PM· committed by Andrew Kelleyparent77eefeb
3 files changedLine totals unavailable