mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-21 00:00:13 +02:00
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:
parent
6af70febef
commit
866d53ed70
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user