*) this should adjust the Dev/Main detection of the updater to the new version numbers (0.7x is Dev, if x != 0)

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5504 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
low012 16 years ago
parent 1927fd5992
commit 78778df464

@ -123,7 +123,7 @@ public final class yacyVersion implements Comparator<yacyVersion>, Comparable<ya
} catch (final NumberFormatException e) {
throw new RuntimeException("release file name '" + release + "' is not valid, '" + comp[0] + "' should be a float number");
}
this.mainRelease = ((int) (this.releaseNr * 1000)) % 10 == 0;
this.mainRelease = ((int) (this.releaseNr * 100)) % 10 == 0;
//System.out.println("Release version " + this.releaseNr + " is " + ((this.mainRelease) ? "main" : "std"));
this.dateStamp = comp[1];
if (this.dateStamp.length() != 8) {

Loading…
Cancel
Save