private void maybeRemoveLiveBindFunction( LiveBindFunction liveBindFunction, String cssSelector, int eventbits, String eventName, String nameSpace) { if (liveBindFunction != null) { liveBindFunction.removeBindFunctionForSelector(cssSelector, nameSpace); if (liveBindFunction.isEmpty()) { if (eventbits != BITLESS) { liveBindFunctionByEventType.remove(eventbits); } else { liveBindFunctionByEventName.remove(eventName); } } } }