fixed class cast issue in test

This commit is contained in:
trisberg
2008-09-08 13:10:46 +00:00
parent 85fceaff47
commit 2b470683f9

View File

@@ -119,11 +119,11 @@ public class DefaultDataFieldMaxValueIncrementerFactory implements DataFieldMaxV
public String[] getSupportedIncrementerTypes() {
List<String> types = new ArrayList<String>();
for(DatabaseType type : DatabaseType.values()){
types.add(type.name());
}
return (String[])types.toArray();
return types.toArray(new String[types.size()]);
}
}