Home
last modified time | relevance | path

Searched refs:oldDocWords (Results 1 – 1 of 1) sorted by relevance

/external/jdiff/src/jdiff/
DDiff.java45 String[] oldDocWords = parseDoc(oldDoc); in generateDiffs() local
48 DiffMyers diff = new DiffMyers(oldDocWords, newDocWords); in generateDiffs()
50 script = mergeDiffs(oldDocWords, newDocWords, script); in generateDiffs()
55 text = addDiffs(oldDocWords, newDocWords, script, text); in generateDiffs()
118 static DiffMyers.change mergeDiffs(String[] oldDocWords, String[] newDocWords, in mergeDiffs() argument
138 oldDocWords[first0 - 1].compareTo(" ") == 0 && in mergeDiffs()
163 static String addDiffs(String[] oldDocWords, String[] newDocWords, in addDiffs() argument
170 for (int i = 0; i < oldDocWords.length; i++) { in addDiffs()
171 System.out.print(oldDocWords[i]); in addDiffs()
209 res += oldDocWords[i]; in addDiffs()
[all …]