Collection<? extends AllocationRow> rows) {
List<ModifiedAllocation> result = new ArrayList<ModifiedAllocation>();
for (AllocationRow each : rows) {
Validate.notNull(each.transientAllocationBeingModified);
if (each.original != null) {
result.add(new ModifiedAllocation(each.original,
each.transientAllocationBeingModified));
}
}
return result;
}