It's a good practice to initialize `ArrayList` with initial size. In your case it should be new `ArrayList<Attribute>(0)`