diff options
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/timemachine/NewCoverageAggregator.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/timemachine/NewCoverageAggregator.java index 0104f20faa5..15d0e7a1f68 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/timemachine/NewCoverageAggregator.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/timemachine/NewCoverageAggregator.java @@ -21,6 +21,7 @@ package org.sonar.plugins.core.timemachine; import org.apache.commons.lang.ArrayUtils; import org.sonar.api.batch.Decorator; +import org.sonar.api.batch.DecoratorBarriers; import org.sonar.api.batch.DecoratorContext; import org.sonar.api.batch.DependedUpon; import org.sonar.api.measures.CoreMetrics; @@ -34,6 +35,7 @@ import org.sonar.api.resources.Scopes; import java.util.Arrays; import java.util.List; +@DependedUpon(DecoratorBarriers.END_OF_TIME_MACHINE) public final class NewCoverageAggregator implements Decorator { public boolean shouldExecuteOnProject(Project project) { diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/timemachine/NewCoverageFileAnalyzer.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/timemachine/NewCoverageFileAnalyzer.java index 6b7018560b1..78a988d6d16 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/timemachine/NewCoverageFileAnalyzer.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/timemachine/NewCoverageFileAnalyzer.java @@ -22,10 +22,7 @@ package org.sonar.plugins.core.timemachine; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import org.apache.commons.lang.ObjectUtils; -import org.sonar.api.batch.Decorator; -import org.sonar.api.batch.DecoratorContext; -import org.sonar.api.batch.DependedUpon; -import org.sonar.api.batch.DependsUpon; +import org.sonar.api.batch.*; import org.sonar.api.measures.CoreMetrics; import org.sonar.api.measures.Measure; import org.sonar.api.measures.Metric; @@ -45,6 +42,7 @@ import java.util.Map; /** * @since 2.7 */ +@DependedUpon(DecoratorBarriers.END_OF_TIME_MACHINE) public final class NewCoverageFileAnalyzer implements Decorator { private List<PeriodStruct> structs; |