Package org.incava.util.diff

Examples of org.incava.util.diff.Difference


   * 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));
View Full Code Here

TOP

Related Classes of org.incava.util.diff.Difference

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.