Searched defs:line2 (Results 1 - 1 of 1) sorted by relevance

/opengrok-sun/src/org/opensolaris/opengrok/web/
H A DUtil.java669 * Tag changes in the given <var>line1</var> and <var>line2</var>
675 * @param line2 line of the changed/new file
676 * @return the tagged lines (field[0] ~= line1, field[1] ~= line2).
679 public static String[] diffline(StringBuilder line1, StringBuilder line2) { argument
681 int n = line2.length();
683 return new String[] {line1.toString(), line2.toString()};
690 line2.getChars(0, n--, csl2, 0);
714 System.arraycopy(csl2, n, csl2, n + SPAN_LEN, line2.length() - n);
720 ret[1] = line2.toString();

Completed in 1903 milliseconds