Author: orbiter
Date: 2008-02-21 16:37:46 +0100 (Thu, 21 Feb 2008)
New Revision: 4500

Modified:
   trunk/source/de/anomic/plasma/plasmaSnippetCache.java
Log:
added missing hachCode computation for previous feature
this solves also the missing image double-check fetaure!

Modified: trunk/source/de/anomic/plasma/plasmaSnippetCache.java
===================================================================
--- trunk/source/de/anomic/plasma/plasmaSnippetCache.java       2008-02-21 
14:53:51 UTC (rev 4499)
+++ trunk/source/de/anomic/plasma/plasmaSnippetCache.java       2008-02-21 
15:37:46 UTC (rev 4500)
@@ -242,6 +242,9 @@
             if ((this.name == null) || (this.name.length() == 0)) this.name = 
"_";
             if ((this.attr == null) || (this.attr.length() == 0)) this.attr = 
"_";
         }
+        public int hashCode() {
+            return href.hashCode();
+        }
     }
     
     public static boolean existsInCache(yacyURL url, Set<String> queryhashes) {

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

Antwort per Email an