org.eclipse.edje/src/main/java/org/eclipse/edje/PeripheralManager.java
public static <P extends Peripheral> void unregister(P peripheral) {
		PeripheralRegistry registry = PeripheralRegistry;
		Class<P> registeredClass = registry.getRegisteredClass(peripheral);
		if (registeredClass != null) {
			PeripheralRegistry.checkModify(registeredClass, peripheral);
			FixedLengthFIFOQueue<RegistrationEvent<? extends Peripheral>> queue = EventsQueue;
			RegistrationEvent<P> event = registry.unregister(registeredClass, peripheral, queue != null);
			if (event != null) {
				queue.add(event);
			}
		}
	}
/**
	 * Unregisters the given peripheral. If there is a security manager, its
	 * {@link SecurityManager#checkPermission(java.security.Permission)} method
	 * is called with {@link PeripheralManagerPermission#MODIFY} name and the
	 * peripheral type on which it has been registered. Some peripherals are
	 * registered by the underlying platform and cannot be unregistered.
	 *
	 * @param peripheral
	 *            the peripheral to be unregistered
	 * @throws SecurityException
	 *             if a security manager exists and it does not allow the caller
	 *             to unregister a peripheral
	 */
Unregisters the given peripheral. If there is a security manager, its
SecurityManager#checkPermission(java.security.Permission) method
is called with  PeripheralManagerPermission#MODIFY name and the
peripheral type on which it has been registered. Some peripherals are
registered by the underlying platform and cannot be unregistered.

@param peripheral
the peripheral to be unregistered
@throws SecurityException
if a security manager exists and it does not allow the caller
to unregister a peripheral
Unregisters the given peripheral . If there is a security manager its SecurityManager#checkPermission ( java . security . Permission ) method is called with PeripheralManagerPermission#MODIFY name and the peripheral type on which it has been registered . Some peripherals are registered by the underlying platform and cannot be unregistered . @param peripheral the peripheral to be unregistered @throws SecurityException if a security manager exists and it does not allow the caller to unregister a peripheral
public static <P extends Peripheral> void unregister(P peripheral) {
		PeripheralRegistry registry = PeripheralRegistry;
		Class<P> registeredClass = registry.getRegisteredClass(peripheral);
		if (registeredClass != null) {
			PeripheralRegistry.checkModify(registeredClass, peripheral);
			FixedLengthFIFOQueue<RegistrationEvent<? extends Peripheral>> queue = EventsQueue;
			RegistrationEvent<P> event = registry.unregister(registeredClass, peripheral, queue != null);
			if (event != null) {
				queue.add(event);
			}
		}
	}
public static < P extends Peripheral > void unregister ( P peripheral ) { PeripheralRegistry registry = PeripheralRegistry ; Class < P > registeredClass = registry . getRegisteredClass ( peripheral ) ; if ( registeredClass != null ) { PeripheralRegistry . checkModify ( registeredClass , peripheral ) ; FixedLengthFIFOQueue < RegistrationEvent < ? extends Peripheral > > queue = EventsQueue ; RegistrationEvent < P > event = registry . unregister ( registeredClass , peripheral , queue != null ) ; if ( event != null ) { queue . add ( event ) ; } } }
Unregisters the given peripheral.
Unregisters the given peripheral .