Author: toad
Date: 2007-11-29 19:14:50 +0000 (Thu, 29 Nov 2007)
New Revision: 16100
Modified:
trunk/freenet/src/freenet/node/NodeStats.java
Log:
delete dead code
Modified: trunk/freenet/src/freenet/node/NodeStats.java
===================================================================
--- trunk/freenet/src/freenet/node/NodeStats.java 2007-11-29 18:57:52 UTC
(rev 16099)
+++ trunk/freenet/src/freenet/node/NodeStats.java 2007-11-29 19:14:50 UTC
(rev 16100)
@@ -453,8 +453,6 @@
// Do we have the bandwidth?
double expected = this.getThrottle(isLocal, isInsert, isSSK,
true).currentValue();
- (isInsert ? (isSSK ?
this.remoteSskInsertBytesSentAverage : this.remoteChkInsertBytesSentAverage)
- : (isSSK ?
this.remoteSskFetchBytesSentAverage :
this.remoteChkFetchBytesSentAverage)).currentValue();
int expectedSent = (int)Math.max(expected, 0);
if(logMINOR)
Logger.minor(this, "Expected sent bytes:
"+expectedSent);
@@ -464,8 +462,6 @@
return "Insufficient output bandwidth";
}
expected = this.getThrottle(isLocal, isInsert, isSSK,
false).currentValue();
- (isInsert ? (isSSK ?
this.remoteSskInsertBytesReceivedAverage :
this.remoteChkInsertBytesReceivedAverage)
- : (isSSK ?
this.remoteSskFetchBytesReceivedAverage :
this.remoteChkFetchBytesReceivedAverage)).currentValue();
int expectedReceived = (int)Math.max(expected, 0);
if(logMINOR)
Logger.minor(this, "Expected received bytes:
"+expectedSent);