Skip to content

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

more generics

orbitercbefc651ac5a
diff --git a/source/de/anomic/plasma/plasmaSearchEvent.java b/source/de/anomic/plasma/plasmaSearchEvent.java
index 218b36585..fbf8c6dde 100644
--- a/source/de/anomic/plasma/plasmaSearchEvent.java
+++ b/source/de/anomic/plasma/plasmaSearchEvent.java
@@ -87,9 +87,9 @@ public final class plasmaSearchEvent {
@SuppressWarnings("unchecked")
private plasmaSearchEvent(plasmaSearchQuery query,
- plasmaWordIndex wordIndex,
+ plasmaWordIndex wordIndex,
TreeMap<String, String> preselectedPeerHashes,
- boolean generateAbstracts) {
+ boolean generateAbstracts) {
this.eventTime = System.currentTimeMillis(); // for lifetime check
this.wordIndex = wordIndex;
this.query = query;
diff --git a/source/de/anomic/yacy/yacySearch.java b/source/de/anomic/yacy/yacySearch.java
index ae93f974d..2b453dce0 100644
--- a/source/de/anomic/yacy/yacySearch.java
+++ b/source/de/anomic/yacy/yacySearch.java
@@ -254,7 +254,7 @@ public class yacySearch extends Thread {
plasmaURLPattern blacklist,
plasmaSearchRankingProfile rankingProfile,
kelondroBitfield constraint,
- TreeMap clusterselection) {
+ TreeMap<String, String> clusterselection) {
// check own peer status
if (yacyCore.seedDB.mySeed() == null || yacyCore.seedDB.mySeed().getPublicAddress() == null) { return null; }
@@ -278,7 +278,7 @@ public class yacySearch extends Thread {
plasmaSearchRankingProcess containerCache,
String targethash, plasmaURLPattern blacklist,
plasmaSearchRankingProfile rankingProfile,
- kelondroBitfield constraint, TreeMap clusterselection) {
+ kelondroBitfield constraint, TreeMap<String, String> clusterselection) {
// check own peer status
if (yacyCore.seedDB.mySeed() == null || yacyCore.seedDB.mySeed().getPublicAddress() == null) { return null; }