if (from == null) {
throw new IllegalArgumentException("null arg");
}
final int length = from.length;
final Statistic[] to = new Statistic[length];
for (int i = 0 ; i < length ; i++) {
final Statistic as = from[i];
final String name = as.getName();
final String desc = helper.getDescription(name);
if (StatsDescriptionHelper.NO_DESCRIPTION_AVAILABLE.equals(desc)) {
//Localized Description was not available, do nothing
to[i] = from[i];
}
else {
attemptSettingDescription(as, desc);
to[i] = as;
}
}
return ( to );