Update of /cvsroot/freenet/freenet/src/freenet/node/rt In directory sc8-pr-cvs1:/tmp/cvs-serv26770/src/freenet/node/rt
Modified Files: StandardNodeEstimator.java Log Message: 6305: Minor fix to node estimators page Index: StandardNodeEstimator.java =================================================================== RCS file: /cvsroot/freenet/freenet/src/freenet/node/rt/StandardNodeEstimator.java,v retrieving revision 1.18 retrieving revision 1.19 diff -u -w -r1.18 -r1.19 --- StandardNodeEstimator.java 4 Nov 2003 15:48:17 -0000 1.18 +++ StandardNodeEstimator.java 4 Nov 2003 16:07:27 -0000 1.19 @@ -566,6 +566,9 @@ // FIXME: we must have a global utility to do this... String ageString = ""; if(age < 0) age = 0; + if(age >= System.currentTimeMillis()-2000) { + return "never"; + } age = age / 1000; if(age / (365 * 24 * 60 * 60) > 0) { ageString += Long.toString(age/(365 * 24 * 60 * 60)) + " years "; _______________________________________________ cvs mailing list [EMAIL PROTECTED] http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs