fix for latest generic warning fix

pull/1/head
orbiter 11 years ago
parent 97983ba89f
commit 7705e36703

@ -236,7 +236,7 @@ public class Dispatcher {
// init the result vector
final int partitionCount = this.seeds.scheme.verticalPartitions();
final List<ReferenceContainer<WordReference>>[] partitions = (List<ReferenceContainer<WordReference>>[]) Array.newInstance(ReferenceContainer.class, partitionCount);
final List<ReferenceContainer<WordReference>>[] partitions = (List<ReferenceContainer<WordReference>>[]) Array.newInstance(ArrayList.class, partitionCount);
for (int i = 0; i < partitions.length; i++) partitions[i] = new ArrayList<ReferenceContainer<WordReference>>();
// check all entries and split them to the partitions

Loading…
Cancel
Save