Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
*) bugfix for nullpointerexception
theli4d19d9434831
diff --git a/source/de/anomic/soap/services/BlacklistService.java b/source/de/anomic/soap/services/BlacklistService.javaindex 65b336eb8..ca3249e42 100644--- a/source/de/anomic/soap/services/BlacklistService.java+++ b/source/de/anomic/soap/services/BlacklistService.java@@ -108,15 +108,15 @@ public class BlacklistService extends AbstractService {if ((blacklistName == null)||(blacklistName.length() == 0))throw new IllegalArgumentException("Blacklist name must not be null or empty.");- // check if we know all types passed to this function- checkForKnownBlacklistTypes(activateForBlacklistTypes);-if (blacklistName.indexOf("/") != -1)- throw new IllegalArgumentException("Blacklist name must not contain '/'.");+ throw new IllegalArgumentException("Blacklist name must not contain '/'.");// extracting the message context- extractMessageContext(AUTHENTICATION_NEEDED);-+ extractMessageContext(AUTHENTICATION_NEEDED);++ // check if we know all types passed to this function+ checkForKnownBlacklistTypes(activateForBlacklistTypes);+// initialize the list managerinitBlacklistManager();