example.platform.power/src/example/platform/power/ExamplePlatformKernel.java
public void disableWakeSource(PhysicalLink link) throws IllegalStateException
    {
        if (m_WakeSources.contains(link))
        {
            m_WakeSources.remove(link);
            m_Logging.log(LogService.LOG_INFO, "Wake source [%s] removed.", link.getName());
        }
        else
        {
            throw new IllegalStateException(String.format("Requested wake source [%s] not currently enabled.", 
                    link.getName()));
        }
    }
/**
     * Removes a {@link PhysicalLink} from the list of valid wake sources
     * @param link
     *      the PhysicalLink to remove
     * @throws IllegalStateException
     *      if the PhysicalLink given is not a valid wake source
     */
Removes a  PhysicalLink from the list of valid wake sources
@param link
the PhysicalLink to remove
@throws IllegalStateException
if the PhysicalLink given is not a valid wake source
Removes a PhysicalLink from the list of valid wake sources @param link the PhysicalLink to remove @throws IllegalStateException if the PhysicalLink given is not a valid wake source
public void disableWakeSource(PhysicalLink link) throws IllegalStateException
    {
        if (m_WakeSources.contains(link))
        {
            m_WakeSources.remove(link);
            m_Logging.log(LogService.LOG_INFO, "Wake source [%s] removed.", link.getName());
        }
        else
        {
            throw new IllegalStateException(String.format("Requested wake source [%s] not currently enabled.", 
                    link.getName()));
        }
    }
public void disableWakeSource ( PhysicalLink link ) throws IllegalStateException { if ( m_WakeSources . contains ( link ) ) { m_WakeSources . remove ( link ) ; m_Logging . log ( LogService . LOG_INFO , "Wake source [%s] removed." , link . getName ( ) ) ; } else { throw new IllegalStateException ( String . format ( "Requested wake source [%s] not currently enabled." , link . getName ( ) ) ) ; } }
Removes a {@link PhysicalLink} from the list of valid wake sources
 @param link
      the PhysicalLink to remove
 @throws IllegalStateException
      if the PhysicalLink given is not a valid wake source
Removes a { @link PhysicalLink } from the list of valid wake sources @param link the PhysicalLink to remove @throws IllegalStateException if the PhysicalLink given is not a valid wake source