public void removeServerFeature(String namespace) {
        if (localServerFeatures.remove(namespace)) {
            Lock lock = serverFeatures.getLock(namespace);
            lock.lock();
            try {
                HashSet<NodeID> nodeIDs = serverFeatures.get(namespace);
                if (nodeIDs != null) {
                    nodeIDs.remove(XMPPServer.getInstance().getNodeID());
                    if (nodeIDs.isEmpty()) {
                        serverFeatures.remove(namespace);
                    }
                    else {
                        serverFeatures.put(namespace, nodeIDs);
                    }
                }
            }
            finally {
                lock.unlock();
            }
        }
    }
Removes a feature from the information returned whenever a disco for information is
made against the server.

@param namespace the namespace of the feature to be removed.
xmppserver/src/main/java/org/jivesoftware/openfire/disco/IQDiscoInfoHandler.java