question: public void update ( List < Race > races ) { if ( currentRace == null ) { return ; } if ( races . contains ( currentRace ) ) { setRace ( races . get ( races . indexOf ( currentRace ) ) ) ; } }
target:  Give this list of races, whereas the dialog picks out the one it currently has open (if present).