forked from I2P_Developers/i2p.i2p
Clean up single char indexOf()
This commit is contained in:
@@ -170,7 +170,7 @@ class FloodfillMonitorJob extends JobImpl {
|
||||
if (wasFF)
|
||||
ffcount++;
|
||||
int good = ffcount - failcount;
|
||||
boolean happy = getContext().router().getRouterInfo().getCapabilities().indexOf("R") >= 0;
|
||||
boolean happy = getContext().router().getRouterInfo().getCapabilities().indexOf('R') >= 0;
|
||||
// TODO - limit may still be too high
|
||||
// For reference, the avg lifetime job lag on my Pi is 6.
|
||||
// Should we consider avg. dropped ff jobs?
|
||||
|
||||
Reference in New Issue
Block a user