private void addTemplate(String templateName,String templateText){
  StringBuilder nameBuilder=new StringBuilder();
  if (!templateName.startsWith(TEMPLATE_PREFIX)) {
    nameBuilder.append(TEMPLATE_PREFIX);
  }
  nameBuilder.append(templateName);
  messageTemplates.put(nameBuilder.toString(),templateText);
}

private void addTemplate ( String templateName , String templateText ) { StringBuilder nameBuilder = new StringBuilder ( ) ; if ( ! templateName . startsWith ( TEMPLATE_PREFIX ) ) { nameBuilder . append ( TEMPLATE_PREFIX ) ; } nameBuilder . append ( templateName ) ; messageTemplates . put ( nameBuilder . toString ( ) , templateText ) ; }
registers a template name with the corresponding text
