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

Skip to content
Snippets Groups Projects
Commit 796dbc5d authored by str4d's avatar str4d
Browse files

Fixed bug hidden by Set<RouterInfo> -> Set -> Set<Hash> unchecked conversion

parent c8684507
No related branches found
No related tags found
No related merge requests found
......@@ -62,5 +62,5 @@ public class DummyNetworkDatabaseFacade extends NetworkDatabaseFacade {
}
public Set<Hash> getAllRouters() { return new HashSet<Hash>(_routers.keySet()); }
public Set<Hash> findNearestRouters(Hash key, int maxNumRouters, Set<Hash> peersToIgnore) { return new HashSet(_routers.values()); }
public Set<Hash> findNearestRouters(Hash key, int maxNumRouters, Set<Hash> peersToIgnore) { return getAllRouters(); }
}
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