* RouterContext: Clean up clock overrides

* PeerManager: Make calculators static, take out of router context
This commit is contained in:
zzz
2011-01-19 16:40:48 +00:00
parent 0d52399b15
commit 8da1e90226
7 changed files with 17 additions and 102 deletions

View File

@ -776,7 +776,7 @@ public class I2PAppContext {
* enable simulators to play with clock skew among different instances.
*
*/
public Clock clock() { // overridden in RouterContext
public Clock clock() {
if (!_clockInitialized)
initializeClock();
return _clock;