org.sonar.plugins.core.timemachine
Class ViolationTrackingBlocksRecognizer

java.lang.Object
  extended by org.sonar.plugins.core.timemachine.ViolationTrackingBlocksRecognizer

public class ViolationTrackingBlocksRecognizer
extends Object


Constructor Summary
ViolationTrackingBlocksRecognizer(String referenceSource, String source)
           
 
Method Summary
 int computeLengthOfMaximalBlock(int startA, int startB)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViolationTrackingBlocksRecognizer

public ViolationTrackingBlocksRecognizer(String referenceSource,
                                         String source)
Method Detail

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.