Example #1
0
 private void writeCommentHistory(XMLWriter writer) {
   writer.startTag(ELEMENT_COMMIT_HISTORY, null, false);
   for (int i = 0; i < previousComments.length && i < maxComments; i++)
     writer.printSimpleTag(ELEMENT_COMMIT_COMMENT, previousComments[i]);
   writer.endTag(ELEMENT_COMMIT_HISTORY);
 }
Example #2
0
 private void writeCommentTemplates(XMLWriter writer) {
   writer.startTag(ELEMENT_COMMENT_TEMPLATES, null, false);
   for (int i = 0; i < commentTemplates.length; i++)
     writer.printSimpleTag(ELEMENT_COMMIT_COMMENT, commentTemplates[i]);
   writer.endTag(ELEMENT_COMMENT_TEMPLATES);
 }