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