}
if ((version == null) || (releaseTime == 0)) {
logger.log(Level.INFO, "Could not parse data from properties.");
return;
}
if (version.compareTo(currentLatestVersion) > 0) {
currentLatestVersion = version;
latestVersionDate = releaseTime;
logger.log(Level.INFO, String.format("Found new version: %s (%tc)", version, new Date(releaseTime)));
eventBus.post(new UpdateFoundEvent(version, releaseTime, edition));
}