/** * Loops around contents and calls addText for a single element * * @param doDiffs true for calculating differences * @param newText the newText buffer used to compare one portion of text to another * @param contents the contents to be added */ private void addText(boolean doDiffs, StringBuilder newText, List<Content> contents) { for (Content c : contents) { addText(doDiffs, newText, c); } }
addText(doDiffs, newText, xmlContent);