[Yanel-commits] rev 40373 -
public/yanel/trunk/src/realms/welcome-admin/yanel/resources/update-webapp/src/java/org/wyona/yanel/impl/resources/updatefinder/utils
michi at wyona.com
michi at wyona.com
Tue Dec 9 16:13:12 CET 2008
Author: michi
Date: 2008-12-09 16:13:12 +0100 (Tue, 09 Dec 2008)
New Revision: 40373
Modified:
public/yanel/trunk/src/realms/welcome-admin/yanel/resources/update-webapp/src/java/org/wyona/yanel/impl/resources/updatefinder/utils/VersionComparator.java
Log:
obsolete else removed
Modified: public/yanel/trunk/src/realms/welcome-admin/yanel/resources/update-webapp/src/java/org/wyona/yanel/impl/resources/updatefinder/utils/VersionComparator.java
===================================================================
--- public/yanel/trunk/src/realms/welcome-admin/yanel/resources/update-webapp/src/java/org/wyona/yanel/impl/resources/updatefinder/utils/VersionComparator.java 2008-12-09 15:12:43 UTC (rev 40372)
+++ public/yanel/trunk/src/realms/welcome-admin/yanel/resources/update-webapp/src/java/org/wyona/yanel/impl/resources/updatefinder/utils/VersionComparator.java 2008-12-09 15:13:12 UTC (rev 40373)
@@ -236,8 +236,8 @@
String numPart = part.substring(0, index);
part = part.substring(index);
return numPart;
- } else {
- // ... or if this is the non-numeric part of version string
+ }
+ // ... or if this is the non-numeric part of version string
int index = 0;
while (index < part.length() && !Character.isDigit(part.charAt(index))) {
index++;
@@ -246,7 +246,6 @@
String alphaPart = part.substring(0, index);
part = part.substring(index);
return alphaPart;
- }
}
public String nextToken() {
More information about the Yanel-commits
mailing list