private void allDownloadsComplete() {
boolean bRequiresRestart = false;
boolean bHadMandatoryUpdates = false;
for (int i = 0; i < updates.length; i++) {
Update update = updates[i];
// updates with no downloaders exist for admin purposes only
if ( update.getDownloaders().length > 0){
if (update.getRestartRequired() != Update.RESTART_REQUIRED_NO) {
bRequiresRestart = true;
}
if ( update.isMandatory()){
bHadMandatoryUpdates = true;
}
}
}