fixed problem with cast

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3625 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 18 years ago
parent e48189c710
commit 1979a167d3

@ -219,7 +219,7 @@ public class yacyDHTAction implements yacyPeerAction {
}
public synchronized yacySeed getPublicClusterCrawlSeed(String urlHash, TreeMap clusterhashes) {
kelondroCloneableIterator i = new kelondroRotateIterator(new kelondroCloneableSetIterator((TreeSet) clusterhashes.keySet(), urlHash), null);
kelondroCloneableIterator i = new kelondroRotateIterator(new kelondroCloneableSetIterator((TreeSet) (clusterhashes.keySet()), urlHash), null);
if (i.hasNext()) {
yacySeed seed = seedDB.getConnected((String) i.next());
seed.setAlternativeAddress((String) clusterhashes.get(seed.hash));

Loading…
Cancel
Save