Author: nextgens
Date: 2006-09-07 21:54:29 +0000 (Thu, 07 Sep 2006)
New Revision: 10423
Modified:
trunk/freenet/src/freenet/support/LimitedRangeIntByteArrayMapElement.java
Log:
That variable wasn't properly initialized as Griffon26 has pointed out...
Modified:
trunk/freenet/src/freenet/support/LimitedRangeIntByteArrayMapElement.java
===================================================================
--- trunk/freenet/src/freenet/support/LimitedRangeIntByteArrayMapElement.java
2006-09-07 21:07:05 UTC (rev 10422)
+++ trunk/freenet/src/freenet/support/LimitedRangeIntByteArrayMapElement.java
2006-09-07 21:54:29 UTC (rev 10423)
@@ -16,7 +16,7 @@
public final byte[] data;
public final AsyncMessageCallback[] callbacks;
public final long createdTime;
- long reputTime;
+ long reputTime = -1; /* Do NOT get rid of the initialisation otherwise
calling LimitedRangeIntByteArrayMap.getReaddedTime() might return bullshit */
public void reput() {
this.reputTime = System.currentTimeMillis();