Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

removed confusing method

orbiter3d7c8aaeae27
diff --git a/source/de/anomic/plasma/plasmaWordIndexAssortmentCluster.java b/source/de/anomic/plasma/plasmaWordIndexAssortmentCluster.java
index 49fd798bf..39f0cd0bf 100644
--- a/source/de/anomic/plasma/plasmaWordIndexAssortmentCluster.java
+++ b/source/de/anomic/plasma/plasmaWordIndexAssortmentCluster.java
@@ -206,19 +206,14 @@ public final class plasmaWordIndexAssortmentCluster {
// collect all records from all the assortments and return them
plasmaWordIndexEntryContainer buffer, record = new plasmaWordIndexEntryContainer(wordHash);
long limitTime = (maxTime < 0) ? Long.MAX_VALUE : System.currentTimeMillis() + maxTime;
- for (int i = 0; i < clusterCount; i++) {
- buffer = assortments[i].remove(wordHash);
- if (buffer != null) record.add(buffer);
+ for (int i = 0; i < clusterCount; i++) {
+ buffer = assortments[i].remove(wordHash);
+ if (buffer != null) record.add(buffer);
if (System.currentTimeMillis() > limitTime) break;
- }
+ }
return record;
}
- public Iterator hashConjunction(String startWordHash, boolean up) {
- // Old convention implies rot = true
- return hashConjunction(startWordHash, up, true);
- }
-
public Iterator hashConjunction(String startWordHash, boolean up, boolean rot) {
HashSet iterators = new HashSet();
//if (rot) System.out.println("WARNING: kelondroMergeIterator does not work correctly when individual iterators rotate on their own!");