diff --git a/source/de/anomic/yacy/yacyDHTAction.java b/source/de/anomic/yacy/yacyDHTAction.java index 87b71f14d..cce0ccfd3 100644 --- a/source/de/anomic/yacy/yacyDHTAction.java +++ b/source/de/anomic/yacy/yacyDHTAction.java @@ -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));