* fix FilterEngine, forgot comparision-operator

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7314 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
f1ori 14 years ago
parent cdd65aca71
commit d62e449a11

@ -36,7 +36,7 @@ public class FilterEngine {
protected enum listTypes { type1 }; protected enum listTypes { type1 };
protected class FilterEntry { protected class FilterEntry implements Comparable<FilterEntry> {
public String path; public String path;
public EnumSet<listTypes> types; public EnumSet<listTypes> types;
@ -44,6 +44,11 @@ public class FilterEngine {
this.path = path; this.path = path;
this.types = types; this.types = types;
} }
@Override
public int compareTo(FilterEntry fe) {
return this.path.compareToIgnoreCase(fe.path);
}
} }
protected HashARC<DigestURI, EnumSet<listTypes>> cachedUrlHashs = null; protected HashARC<DigestURI, EnumSet<listTypes>> cachedUrlHashs = null;

Loading…
Cancel
Save