[Yanel-commits] rev 26247 -
public/yanel/trunk/src/realms/welcome-admin/yanel/resources/update-webapp/src/java/org/wyona/yanel/impl/resources/updatefinder
michi at wyona.com
michi at wyona.com
Tue Jul 24 12:01:21 CEST 2007
Author: michi
Date: 2007-07-24 12:01:20 +0200 (Tue, 24 Jul 2007)
New Revision: 26247
Modified:
public/yanel/trunk/src/realms/welcome-admin/yanel/resources/update-webapp/src/java/org/wyona/yanel/impl/resources/updatefinder/UpdateFinder.java
Log:
typo fixed
Modified: public/yanel/trunk/src/realms/welcome-admin/yanel/resources/update-webapp/src/java/org/wyona/yanel/impl/resources/updatefinder/UpdateFinder.java
===================================================================
--- public/yanel/trunk/src/realms/welcome-admin/yanel/resources/update-webapp/src/java/org/wyona/yanel/impl/resources/updatefinder/UpdateFinder.java 2007-07-24 10:00:56 UTC (rev 26246)
+++ public/yanel/trunk/src/realms/welcome-admin/yanel/resources/update-webapp/src/java/org/wyona/yanel/impl/resources/updatefinder/UpdateFinder.java 2007-07-24 10:01:20 UTC (rev 26247)
@@ -494,10 +494,10 @@
for (int i = 0; i < bestUpdater.size(); i++) {
HashMap versionDetail = (HashMap) bestUpdater.get(i);
log.error("DEBUG: Updater details: " + versionDetail);
- if (versionComparator.compare((String) versionDetail.get("targetApllicationMinRevision"), updateRevision) > 0 ) {
+ if (versionComparator.compare((String) versionDetail.get(UpdateInfo.TARGET_APPLICATION_MIN_REVISION), updateRevision) > 0 ) {
bestUpdater.remove(i);
}
- if (versionComparator.compare((String) versionDetail.get("targetApllicationMaxRevision"), updateRevision) < 0 ) {
+ if (versionComparator.compare((String) versionDetail.get(UpdateInfo.TARGET_APPLICATION_MAX_REVISION), updateRevision) < 0 ) {
bestUpdater.remove(i);
}
}
More information about the Yanel-commits
mailing list