git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7799 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
low012 14 years ago
parent d8072d1866
commit 4fe1329de2

@ -134,9 +134,11 @@ public class CrawlProfileEditor_p {
Map<String, String> orderdHandles = new TreeMap<String, String>(); Map<String, String> orderdHandles = new TreeMap<String, String>();
for (final byte[] h : sb.crawler.getActive()) { for (final byte[] h : sb.crawler.getActive()) {
selentry = sb.crawler.getActive(h); selentry = sb.crawler.getActive(h);
if (ignoreNames.contains(selentry.name())) continue; if (selentry != null && !ignoreNames.contains(selentry.name())) {
orderdHandles.put(selentry.name(), selentry.handle()); orderdHandles.put(selentry.name(), selentry.handle());
}
} }
// then write into pop-up menu list // then write into pop-up menu list
int count = 0; int count = 0;
for (final Map.Entry<String, String> NameHandle: orderdHandles.entrySet()) { for (final Map.Entry<String, String> NameHandle: orderdHandles.entrySet()) {

Loading…
Cancel
Save