diff --git a/source/de/anomic/plasma/plasmaSnippetCache.java b/source/de/anomic/plasma/plasmaSnippetCache.java index 93a149298..0229d63a0 100644 --- a/source/de/anomic/plasma/plasmaSnippetCache.java +++ b/source/de/anomic/plasma/plasmaSnippetCache.java @@ -242,6 +242,9 @@ public class plasmaSnippetCache { 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 queryhashes) {