[freenet-cvs] r11654 - trunk/freenet/src/freenet/node

toad at freenetproject.org toad at freenetproject.org
Sat Feb 3 14:30:56 UTC 2007


Author: toad
Date: 2007-02-03 14:30:55 +0000 (Sat, 03 Feb 2007)
New Revision: 11654

Modified:
   trunk/freenet/src/freenet/node/Version.java
Log:
Transition time: > should be >=

Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java	2007-02-03 14:15:49 UTC (rev 11653)
+++ trunk/freenet/src/freenet/node/Version.java	2007-02-03 14:30:55 UTC (rev 11654)
@@ -29,7 +29,7 @@
 	/** Oldest build of Fred we will talk to */
 	private static final int oldLastGoodBuild = 1010;
 	private static final int newLastGoodBuild = 1010;
-	private static final long transitionTime;
+	static final long transitionTime;
 	
 	static {
 		final Calendar _cal = Calendar.getInstance(TimeZone.getTimeZone("GMT"));
@@ -50,7 +50,7 @@
 	 * data normally.
 	 */
 	public static final int lastGoodBuild() {
-		if(System.currentTimeMillis() > transitionTime)
+		if(System.currentTimeMillis() >= transitionTime)
 			return newLastGoodBuild;
 		else
 			return oldLastGoodBuild;




More information about the cvs mailing list