* some context.
*/
private static List<WikiDiff> generateWikiDiffs(List<Difference> diffs,
String[] oldArray, String[] newArray) {
List<WikiDiff> wikiDiffs = new ArrayList<WikiDiff>();
Difference previousDiff = null;
Difference nextDiff = null;
List<WikiDiff> changedLineWikiDiffs = null;
String[] oldLineArray = null;
String[] newLineArray = null;
List<Difference> changedLineDiffs = null;
List<WikiDiff> wikiSubDiffs = null;
Difference nextLineDiff = null;
int i = 0;
for (Difference currentDiff : diffs) {
i++;
wikiDiffs.addAll(DiffUtil.preBufferDifference(currentDiff, previousDiff,
oldArray, newArray, DIFF_UNCHANGED_LINE_DISPLAY));