Examples of DuplicationUnitDto


Examples of org.sonar.core.duplication.DuplicationUnitDto

    int resourceSnapshotId = getSnapshotIdFor(inputFile);

    // TODO Godin: maybe remove conversion of blocks to units?
    List<DuplicationUnitDto> units = Lists.newArrayList();
    for (Block block : blocks) {
      DuplicationUnitDto unit = new DuplicationUnitDto(
        currentProjectSnapshotId,
        resourceSnapshotId,
        block.getBlockHash().toString(),
        block.getIndexInFile(),
        block.getStartLine(),
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.