diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2014-06-19 11:40:14 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2014-06-19 11:40:52 +0200 |
commit | bbf1f60af78c263234c3411b4c0cc29a13c65451 (patch) | |
tree | 955113cb62ff7ef54a4d112b0fc31ae3c63c818c /sonar-deprecated | |
parent | 32f8bfbdacdb68a37ef5944ad8388755c7dc5b6b (diff) | |
download | sonarqube-bbf1f60af78c263234c3411b4c0cc29a13c65451.tar.gz sonarqube-bbf1f60af78c263234c3411b4c0cc29a13c65451.zip |
SONAR-5389 Fix some quality flaws
Diffstat (limited to 'sonar-deprecated')
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); } /** |