Commit 92fa722c authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] toBamPeers must return empty list, and not null

parent 63885746
Pipeline #9547 passed with stage
in 15 seconds
......@@ -116,7 +116,7 @@ public final class Peers {
public static List<NetworkPeers.Peer> toBmaPeers(List<Peer> endpointAsPeers) {
if (CollectionUtils.isEmpty(endpointAsPeers)) return null;
if (CollectionUtils.isEmpty(endpointAsPeers)) return ImmutableList.of();
// Group by peering document
Multimap<String, Peer> groupByPeering = ArrayListMultimap.create();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment