forked from I2P_Developers/i2p.i2p
Clean up single char indexOf()
This commit is contained in:
@@ -958,7 +958,7 @@ public class TrackerClient implements Runnable {
|
||||
{
|
||||
announce = a;
|
||||
String s = a.substring(7);
|
||||
host = s.substring(0, s.indexOf("/"));
|
||||
host = s.substring(0, s.indexOf('/'));
|
||||
isPrimary = p;
|
||||
interval = INITIAL_SLEEP;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user