if (serviceEvent != null) { synchronized (framework.serviceEvent) {
synchronized (framework.serviceEvent) { if (serviceEvent != null) {
	public void removeServiceListener(ServiceListener listener) {		checkValid();		if (Debug.DEBUG && Debug.DEBUG_SERVICES) {			String listenerName = listener.getClass().getName() + "@" + Integer.toHexString(listener.hashCode()); //$NON-NLS-1$			Debug.println("removeServiceListener[" + bundle + "](" + listenerName + ")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$		}		if (serviceEvent != null) {			synchronized (framework.serviceEvent) {				serviceEvent.removeListener(listener);			}		}	}