Integer value = data[i];
T item = Utils.parseT(value, type);
boolean added = collection.add(item);
if (!added) {
System.err.println(name+" addAndRemoveInOrder add failed.");
<BUG>Utils.handleError(collection);
</BUG>
return false;
}
}

Integer value = data[i];
T item = Utils.parseT(value, type);
boolean added = collection.add(item);
if (!added) {
System.err.println(name+" addAndRemoveInOrder add failed.");
Utils.handleError(data,collection);
return false;
}
}
