From 15305b6cd7d228621a5a923be90ee524966d0b0e Mon Sep 17 00:00:00 2001 From: vsavkin Date: Fri, 3 Oct 2014 16:31:12 -0400 Subject: [PATCH] refactor(facade): instantiate a fixed length array --- modules/facade/src/collection.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/facade/src/collection.es6 b/modules/facade/src/collection.es6 index a72002197e..abc184c7e5 100644 --- a/modules/facade/src/collection.es6 +++ b/modules/facade/src/collection.es6 @@ -17,7 +17,7 @@ export class MapWrapper { export class ListWrapper { static create():List { return new List(); } - static createFixedSize(size):List { return new List(); } + static createFixedSize(size):List { return new List(size); } static get(m, k) { return m[k]; } static set(m, k, v) { m[k] = v; } static clone(array) {