this method is used to save the current displayed email template changes to the configuration object . concode_field_sep EmailTemplateDTO[] templates concode_elem_sep Map<String,String> emailTypes concode_field_sep Map<String,String> getEmailTypes concode_elem_sep EmailTemplateDTO getTemplate concode_elem_sep void setTemplates concode_elem_sep void setEmailTypes concode_elem_sep EmailTemplateDTO[] getTemplates
void function ( EmailTemplateDTO arg0 ) { if ( arg0 != null ) { for ( int loc0 = 0 ; loc0 < templates . length ; loc0 ++ ) { EmailTemplateDTO loc1 = templates [ loc0 ] ; if ( arg0 . getName ( ) . equals ( loc1 . getName ( ) ) ) { templates [ loc0 ] = arg0 ; } } } }