Update of /cvsroot/freenet/freenet/src/freenet/node/rt In directory sc8-pr-cvs1:/tmp/cvs-serv17214/src/freenet/node/rt
Modified Files: StandardNodeEstimator.java Log Message: 6334: Bugfixes Index: StandardNodeEstimator.java =================================================================== RCS file: /cvsroot/freenet/freenet/src/freenet/node/rt/StandardNodeEstimator.java,v retrieving revision 1.39 retrieving revision 1.40 diff -u -w -r1.39 -r1.40 --- StandardNodeEstimator.java 13 Nov 2003 20:49:54 -0000 1.39 +++ StandardNodeEstimator.java 13 Nov 2003 21:06:14 -0000 1.40 @@ -86,6 +86,7 @@ Core.logger.log(this, "Serializing in StandardNodeEstimator", Logger.MINOR); this.random = rand; + if(rand == null) throw new NullPointerException(); this.ngrt = ngrt; this.ref = ref; this.mem = mem; @@ -149,6 +150,8 @@ Core.logger.log(this, "New node in routing table (StandardNodeEstimator impl) for "+ ref+" ("+ngrt+"), details:"+"mem = "+mem+", key="+k+", initTransferRate="+ initTransferRate+", needConnection="+needConnection, Logger.MINOR); + this.random = rand; + if(rand == null) throw new NullPointerException(); this.ngrt = ngrt; this.ref = ref; this.mem = mem; _______________________________________________ cvs mailing list [EMAIL PROTECTED] http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs