Added Already-up-to-date message to updater

This commit is contained in:
magenoxx 2012-05-27 09:34:13 +04:00
parent 41aae07021
commit 792d5c314a

View file

@ -49,7 +49,12 @@ public class Updater {
m.downloadAndUpdate(downloadList);
// remove odd files
m.removeFiles(m.findRemoved(local, remote));
List<String> removeList = m.findRemoved(local, remote);
m.removeFiles(removeList);
if (downloadList.isEmpty() && removeList.isEmpty()) {
System.out.println("Already up-to-date.");
}
}
/**