forked from I2P_Developers/i2p.i2p
null check (oops)
This commit is contained in:
@ -201,7 +201,10 @@ public class ProfileOrganizer {
|
||||
// we only use selectHighCapacityPeers when we are selecting for PURPOSE_TEST
|
||||
// or we are falling back due to _fastPeers being too small, so we can always
|
||||
// exclude the fast peers
|
||||
exclude.addAll(_fastPeers.keySet());
|
||||
if (exclude == null)
|
||||
exclude = new HashSet(_fastPeers.keySet());
|
||||
else
|
||||
exclude.addAll(_fastPeers.keySet());
|
||||
locked_selectPeers(_highCapacityPeers, howMany, exclude, matches);
|
||||
}
|
||||
if (matches.size() < howMany)
|
||||
|
Reference in New Issue
Block a user