Merge pull request #475 from sharwell/fix-474

Increment current while adding a collection to IntegerList (fixes #474)
This commit is contained in:
Terence Parr 2014-03-01 14:36:26 -08:00
commit 330116f7ef
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();