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