/** * Converts this revision into its Unix diff style string representation. * * @param s * a {@link StringBuilder StringBuffer} to which the string representation will be * appended. */ @Override public synchronized void toString(final StringBuilder s) { for (Delta delta : deltas_) { delta.toString(s); } }
/** * Converts this revision into its Unix diff style string representation. * * @param s * a {@link StringBuffer StringBuffer} to which the string representation will be * appended. */ @Override public synchronized void toString(StringBuffer s) { Iterator<Delta> i = deltas_.iterator(); while (i.hasNext()) { (i.next()).toString(s); } }
/** * Converts this revision into its Unix diff style string representation. * * @param s * a {@link StringBuffer StringBuffer} to which the string representation will be * appended. */ public synchronized void toString(StringBuffer s) { Iterator i = deltas_.iterator(); while (i.hasNext()) { ((Delta)i.next()).toString(s); } }