Use initial capacity of 4 for empty macro parameter maps to allow some room
for macro-added parameters.
This commit is contained in:
parent
08b50f7c59
commit
84e4c9361d
1 changed files with 1 additions and 1 deletions
|
@ -482,7 +482,7 @@ public final class Skin {
|
|||
// pass a clone/copy of the parameter map so if the script changes it,
|
||||
Object[] arguments = new Object[1];
|
||||
if (parameters == null) {
|
||||
arguments[0] = new SystemMap(0);
|
||||
arguments[0] = new SystemMap(4);
|
||||
} else {
|
||||
arguments[0] = new WrappedMap(parameters, WrappedMap.COPY_ON_WRITE);
|
||||
// arguments[0] = new SystemMap(parameters);
|
||||
|
|
Loading…
Add table
Reference in a new issue