org.sonar.plugins.core.timemachine
Class ViolationTrackingBlocksRecognizer
java.lang.Object
org.sonar.plugins.core.timemachine.ViolationTrackingBlocksRecognizer
public class ViolationTrackingBlocksRecognizer
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViolationTrackingBlocksRecognizer
public ViolationTrackingBlocksRecognizer(String referenceSource,
String source)
isValidLineInReference
public boolean isValidLineInReference(int line)
isValidLineInSource
public boolean isValidLineInSource(int line)
computeLengthOfMaximalBlock
public int computeLengthOfMaximalBlock(int startA,
int startB)
- Parameters:
startA
- number of line from first version of text (numbering starts from 0)startB
- number of line from second version of text (numbering starts from 0)
Copyright © 2009-2012 SonarSource. All Rights Reserved.