org.sonar.ide.wsclient
Class SimpleSourceCodeDiffEngine
java.lang.Object
org.sonar.ide.wsclient.SimpleSourceCodeDiffEngine
- All Implemented Interfaces:
- SourceCodeDiffEngine
public class SimpleSourceCodeDiffEngine
- extends Object
- implements SourceCodeDiffEngine
Actually this is an implementation of heuristic algorithm - magic happens here.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleSourceCodeDiffEngine
public SimpleSourceCodeDiffEngine()
getInstance
public static SourceCodeDiffEngine getInstance()
diff
public SourceCodeDiff diff(String local,
String remote)
diff
public SourceCodeDiff diff(String[] local,
String[] remote)
-
- Specified by:
diff in interface SourceCodeDiffEngine
split
public static String[] split(String text)
getLines
public static String[] getLines(org.sonar.wsclient.services.Source source)
Copyright © 2010 Evgeny Mandrikov. All Rights Reserved.