question: private Stack < CompositeTransaction > removeThreadMappings ( Thread thread ) { Stack < CompositeTransaction > ret = null ; synchronized ( threadtotxmap_ ) { ret = threadtotxmap_ . remove ( thread ) ; CompositeTransaction tx = ret . peek ( ) ; txtothreadmap_ . remove ( tx ) ; } return ret ; }
target:  Remove mappings for given thread.