mil.dod.th.ose.shared/src/mil/dod/th/ose/shared/pm/CountingWakeLock.java
public void deleteWakeLock()
    {
        synchronized (m_LockObj)
        {
            if (m_TheWakeLock != null)
            {
                m_TheWakeLock.delete();
                m_TheWakeLock = null; // NOPMD: NullAssignment, Must assign to null, field is checked before using
            }
        }
    }
/**
     * Call {@link WakeLock#delete()} if there is a wake lock set.
     */
Call  WakeLock#delete() if there is a wake lock set.
Call WakeLock#delete () if there is a wake lock set .
public void deleteWakeLock()
    {
        synchronized (m_LockObj)
        {
            if (m_TheWakeLock != null)
            {
                m_TheWakeLock.delete();
                m_TheWakeLock = null; 
            }
        }
    }
public void deleteWakeLock ( ) { synchronized ( m_LockObj ) { if ( m_TheWakeLock != null ) { m_TheWakeLock . delete ( ) ; m_TheWakeLock = null ; } } }
Call {@link WakeLock#delete()} if there is a wake lock set.
Call { @link WakeLock#delete () } if there is a wake lock set .
// NOPMD: NullAssignment, Must assign to null, field is checked before using