From 866d53ed70fd0e17f7dc73035b5e3b927d354e5a Mon Sep 17 00:00:00 2001 From: orbiter Date: Fri, 30 Jun 2006 22:39:33 +0000 Subject: [PATCH] fix for DNS block bug see http://www.yacy-forum.de/viewtopic.php?p=23458#23458 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2262 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/htmlFilter/htmlFilterImageEntry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/de/anomic/htmlFilter/htmlFilterImageEntry.java b/source/de/anomic/htmlFilter/htmlFilterImageEntry.java index 2c5bfd82d..73c54ff82 100644 --- a/source/de/anomic/htmlFilter/htmlFilterImageEntry.java +++ b/source/de/anomic/htmlFilter/htmlFilterImageEntry.java @@ -86,7 +86,7 @@ public class htmlFilterImageEntry implements Comparable { // this is needed if this object is stored in a TreeSet assert (url != null); assert (h instanceof htmlFilterImageEntry); - if (this.url.equals(((htmlFilterImageEntry) h).url)) return 0; + if (this.url.toString().equals(((htmlFilterImageEntry) h).url.toString())) return 0; int thc = this.hashCode(); int ohc = ((htmlFilterImageEntry) h).hashCode(); if (thc < ohc) return -1;