void charsToLines(LinkedList<Change> diffs,
                                     List<String> lineArray) {
        StringBuilder text;
        for (Change diff : diffs) {
            text = new StringBuilder();
            for (int y = 0; y < diff.text.length(); y++) {
                text.append(lineArray.get(diff.text.charAt(y)));
            }
            diff.text = text.toString();
        }
    }
void charsToLines ( LinkedList < Change > diffs , List < String > lineArray ) { StringBuilder text ; for ( Change diff : diffs ) { text = new StringBuilder ( ) ; for ( int y = 0 ; y < diff . text . length ( ) ; y ++ ) { text . append ( lineArray . get ( diff . text . charAt ( y ) ) ) ; } diff . text = text . toString ( ) ; } }
Rehydrate the text in a diff from a string of line hashes to real lines of
text.
@param diffs LinkedList of DiffBase objects.
@param lineArray List of unique strings.