public void clear(){
  verifyState();
  initDepth.set(initDepth.get() - 1);
  if (initDepth.get() == 0) {
    resourceCache.set(null);
    cacheLocked.set(null);
    initDepth.set(null);
  }
}

public void clear ( ) { verifyState ( ) ; initDepth . set ( initDepth . get ( ) - 1 ) ; if ( initDepth . get ( ) == 0 ) { resourceCache . set ( null ) ; cacheLocked . set ( null ) ; initDepth . set ( null ) ; } }
clears current thread scope state .
