Commit 84b557bd authored by Tom Evans's avatar Tom Evans

Merge pull request #384 from sco0ter/bytearray

byte[].equals() should probably be Arrays.equals()
parents b0b36e9c 102103fe
......@@ -1044,7 +1044,7 @@ public class RoutingTableImpl extends BasicModule implements RoutingTable, Clust
serverLock.lock();
List<String> remoteServerDomains = new ArrayList<>();
for (Map.Entry<String, byte[]> entry : serversCache.entrySet()) {
if (entry.getValue().equals(nodeID)) {
if (Arrays.equals(entry.getValue(), nodeID)) {
remoteServerDomains.add(entry.getKey());
}
}
......
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