Author: orbiter
Date: 2008-01-18 19:43:56 +0100 (Fri, 18 Jan 2008)
New Revision: 4342

Modified:
   trunk/source/de/anomic/plasma/plasmaSearchEvent.java
   trunk/source/de/anomic/yacy/yacySearch.java
Log:
more generics

Modified: trunk/source/de/anomic/plasma/plasmaSearchEvent.java
===================================================================
--- trunk/source/de/anomic/plasma/plasmaSearchEvent.java        2008-01-18 
17:14:02 UTC (rev 4341)
+++ trunk/source/de/anomic/plasma/plasmaSearchEvent.java        2008-01-18 
18:43:56 UTC (rev 4342)
@@ -87,9 +87,9 @@
     
     @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;

Modified: trunk/source/de/anomic/yacy/yacySearch.java
===================================================================
--- trunk/source/de/anomic/yacy/yacySearch.java 2008-01-18 17:14:02 UTC (rev 
4341)
+++ trunk/source/de/anomic/yacy/yacySearch.java 2008-01-18 18:43:56 UTC (rev 
4342)
@@ -254,7 +254,7 @@
             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 @@
             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; }
 

_______________________________________________
YaCy-svn mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/yacy-svn

Antwort per Email an