public synchronized void putInEntryIfNotEmpty ( ) { assert workbenchEntry != null : this ; assert acquired : this ; assert workbenchEntry . acquired : workbenchEntry ; if ( ! isEmpty ( ) ) workbenchEntry . add ( this ) ; acquired = false ; }
Puts this visit state in its entry if it not empty .