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
pull/1/head
orbiter 19 years ago
parent 6af70febef
commit 866d53ed70

@ -86,7 +86,7 @@ public class htmlFilterImageEntry implements Comparable {
// this is needed if this object is stored in a TreeSet // this is needed if this object is stored in a TreeSet
assert (url != null); assert (url != null);
assert (h instanceof htmlFilterImageEntry); 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 thc = this.hashCode();
int ohc = ((htmlFilterImageEntry) h).hashCode(); int ohc = ((htmlFilterImageEntry) h).hashCode();
if (thc < ohc) return -1; if (thc < ohc) return -1;

Loading…
Cancel
Save