private List<ApplicationVariant> wrapApplicationVariant(List<PushApplication> applications) {
final List<ApplicationVariant> applicationVariants = new ArrayList<ApplicationVariant>(applications.size());
for (PushApplication application : applications) {
for (Variant variant : application.getVariants()) {
final ApplicationVariant applicationVariant = new ApplicationVariant(application, variant);
applicationVariants.add(applicationVariant);
}
}
return applicationVariants;
}