Increment current while adding a collection to IntegerList (fixes #474)

This commit is contained in:
Sam Harwell 2014-03-01 15:49:29 -06:00
parent a9628b0ff0
commit c35b59d3b8
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ public class IntegerList {
int current = 0;
for (int x : list) {
_data[_size + current] = x;
current++;
}
_size += list.size();