question: private void stashRequestUser ( RequestAndResponse requestAndResponse ) { if ( requestAndResponse . wasUserAlreadyStashed ) { return ; } requestAndResponse . wasUserAlreadyStashed = true ; final User user = dbLogic . getUserById ( getEffectiveUserId ( requestAndResponse ) ) ; if ( user != null ) { requestAndResponse . userIsAdmin = user . getIsAdmin ( ) ; requestAndResponse . userIsAccountClosed = user . getIsAccountClosed ( ) ; requestAndResponse . userOptions = user . getOptions ( ) ; } else { requestAndResponse . userOptions = "{}" ; } }
target:  Stashes user information in the requestAndResponse to reduce the number of queries and transactions.