Remove creation of redundant ArrayList instance