added delete-button for host navigation

pull/1/head
Michael Peter Christen 13 years ago
parent e8d24fd802
commit f91487fc50

@ -325,17 +325,17 @@ public final class RWIProcess extends Thread
if (this.query.siteexcludes != null && this.query.siteexcludes.contains(hosthash)) { if (this.query.siteexcludes != null && this.query.siteexcludes.contains(hosthash)) {
continue pollloop; continue pollloop;
} }
// no site constraint there; maybe collect host navigation information
if ( nav_hosts && this.query.urlMask_isCatchall ) {
this.hostNavigator.inc(hosthash);
this.hostResolver.put(hosthash, iEntry.urlhash());
}
} else { } else {
if ( !hosthash.equals(this.query.sitehash) ) { if ( !hosthash.equals(this.query.sitehash) ) {
// filter out all domains that do not match with the site constraint // filter out all domains that do not match with the site constraint
continue pollloop; continue pollloop;
} }
} }
// collect host navigation information (even if we have only one; this is to provide a switch-off button)
if ( nav_hosts || this.query.urlMask_isCatchall ) {
this.hostNavigator.inc(hosthash);
this.hostResolver.put(hosthash, iEntry.urlhash());
}
// check protocol // check protocol
if ( !this.query.urlMask_isCatchall ) { if ( !this.query.urlMask_isCatchall ) {

Loading…
Cancel
Save