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
This commit is contained in:
orbiter 2006-06-30 22:39:33 +00:00
parent 6af70febef
commit 866d53ed70

View File

@ -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;