I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit f06e21ff authored by jrandom's avatar jrandom Committed by zzz
Browse files

null check (oops)

parent bb0817a2
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment