mil.dod.th.ose.shared/src/mil/dod/th/ose/shared/pm/CountingWakeLock.java
public void activate()
    {
        synchronized (m_LockObj)
        {
            if (m_Count == 0 && m_TheWakeLock != null)
            {
                m_TheWakeLock.activate();
            }
            m_Count++;
        }
    }
/**
     * Call {@link WakeLock#activate()} if the current count is zero, otherwise just increment the count.
     */
Call  WakeLock#activate() if the current count is zero, otherwise just increment the count.
Call WakeLock#activate () if the current count is zero otherwise just increment the count .
public void activate()
    {
        synchronized (m_LockObj)
        {
            if (m_Count == 0 && m_TheWakeLock != null)
            {
                m_TheWakeLock.activate();
            }
            m_Count++;
        }
    }
public void activate ( ) { synchronized ( m_LockObj ) { if ( m_Count == 0 && m_TheWakeLock != null ) { m_TheWakeLock . activate ( ) ; } m_Count ++ ; } }
Call {@link WakeLock#activate()} if the current count is zero, otherwise just increment the count.
Call { @link WakeLock#activate () } if the current count is zero otherwise just increment the count .