public void unlockAndClose() throws AdeUsageException {
  try {
    if (m_lock != null) {
      m_lock.release();
      m_lock=null;
    }
    if (m_raf != null) {
      m_raf.close();
      m_raf=null;
    }
  }
 catch (  IOException e) {
    throw new AdeUsageException("Failed unlocking " + m_filename,e);
  }
}

public void unlockAndClose ( ) throws AdeUsageException { try { if ( m_lock != null ) { m_lock . release ( ) ; m_lock = null ; } if ( m_raf != null ) { m_raf . close ( ) ; m_raf = null ; } } catch ( IOException e ) { throw new AdeUsageException ( "Failed unlocking " + m_filename , e ) ; } }
close and unlock the file
