public void updateAvailabilityIndicators(){
  for (  String string : availabilityIndicators.keySet()) {
    CommandTarget commandTarget=commands.get(string);
    if (commandTarget != null) {
      commandTarget.setAvailabilityIndicator(availabilityIndicators.get(string));
    }
  }
}

public void updateAvailabilityIndicators ( ) { for ( String string : availabilityIndicators . keySet ( ) ) { CommandTarget commandTarget = commands . get ( string ) ; if ( commandTarget != null ) { commandTarget . setAvailabilityIndicator ( availabilityIndicators . get ( string ) ) ; } } }
will update all the references to availability indicators for commands
