.build();
}
protected static ClonePart newClonePart(String resourceId, int unitStart, int cloneUnitLength) {
return new ClonePart(resourceId, unitStart, unitStart, unitStart + cloneUnitLength + LINES_PER_BLOCK - 1);
}
<BUG>protected abstract List<CloneGroup> detect(CloneIndex index, List<Block> fileBlocks);
</BUG>
@Test
public void exampleFromPaper() {
CloneIndex index = createIndex(

.build();
}
protected static ClonePart newClonePart(String resourceId, int unitStart, int cloneUnitLength) {
return new ClonePart(resourceId, unitStart, unitStart, unitStart + cloneUnitLength + LINES_PER_BLOCK - 1);
}
protected abstract List<CloneGroup> detect(CloneIndex index, Block[] fileBlocks);
@Test
public void exampleFromPaper() {
CloneIndex index = createIndex(
