import org.sonar.server.computation.task.projectanalysis.component.ConfigurationRepositoryImpl;
import org.sonar.server.computation.task.projectanalysis.component.TreeRootHolderImpl;
import org.sonar.server.computation.task.projectanalysis.duplication.CrossProjectDuplicationStatusHolderImpl;
+import org.sonar.server.computation.task.projectanalysis.duplication.DuplicationMeasures;
import org.sonar.server.computation.task.projectanalysis.duplication.DuplicationRepositoryImpl;
import org.sonar.server.computation.task.projectanalysis.duplication.IntegrateCrossProjectDuplications;
import org.sonar.server.computation.task.projectanalysis.event.EventRepositoryImpl;
// duplication
IntegrateCrossProjectDuplications.class,
+ DuplicationMeasures.class,
// views
ViewIndex.class,
*/
package org.sonar.server.computation.task.projectanalysis.step;
+import javax.annotation.Nullable;
+
import org.sonar.api.measures.CoreMetrics;
import org.sonar.server.computation.task.projectanalysis.analysis.AnalysisMetadataHolder;
import org.sonar.server.computation.task.projectanalysis.duplication.DuplicationMeasures;
private final IncrementalDuplicationMeasures incrementalDuplicationsMeasures;
public DuplicationMeasuresStep(AnalysisMetadataHolder analysisMetadataHolder, DuplicationMeasures defaultDuplicationMeasures,
- IncrementalDuplicationMeasures incrementalDuplicationMeasures) {
+ @Nullable IncrementalDuplicationMeasures incrementalDuplicationMeasures) {
this.analysisMetadataHolder = analysisMetadataHolder;
this.defaultDuplicationMeasures = defaultDuplicationMeasures;
this.incrementalDuplicationsMeasures = incrementalDuplicationMeasures;