diff options
Diffstat (limited to 'sonar-deprecated/src')
2 files changed, 2 insertions, 2 deletions
diff --git a/sonar-deprecated/src/main/java/org/sonar/api/batch/AbstractFileComplexityDecorator.java b/sonar-deprecated/src/main/java/org/sonar/api/batch/AbstractFileComplexityDecorator.java index 16406c7afdf..9099c22a495 100644 --- a/sonar-deprecated/src/main/java/org/sonar/api/batch/AbstractFileComplexityDecorator.java +++ b/sonar-deprecated/src/main/java/org/sonar/api/batch/AbstractFileComplexityDecorator.java @@ -58,7 +58,7 @@ public abstract class AbstractFileComplexityDecorator implements Decorator { */ @DependsUpon public List<Metric> dependsUponFileAndComplexityMetrics() { - return Arrays.asList(CoreMetrics.FILES, CoreMetrics.COMPLEXITY); + return Arrays.<Metric>asList(CoreMetrics.FILES, CoreMetrics.COMPLEXITY); } /** diff --git a/sonar-deprecated/src/main/java/org/sonar/api/batch/AbstractFunctionComplexityDecorator.java b/sonar-deprecated/src/main/java/org/sonar/api/batch/AbstractFunctionComplexityDecorator.java index e2a995935c8..ab7103bf6d2 100644 --- a/sonar-deprecated/src/main/java/org/sonar/api/batch/AbstractFunctionComplexityDecorator.java +++ b/sonar-deprecated/src/main/java/org/sonar/api/batch/AbstractFunctionComplexityDecorator.java @@ -57,7 +57,7 @@ public abstract class AbstractFunctionComplexityDecorator implements Decorator { */ @DependsUpon public List<Metric> dependsUponFileAndComplexityMetrics() { - return Arrays.asList(CoreMetrics.FUNCTIONS, CoreMetrics.COMPLEXITY); + return Arrays.<Metric>asList(CoreMetrics.FUNCTIONS, CoreMetrics.COMPLEXITY); } /** |