diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2016-05-17 09:57:55 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2016-05-17 10:00:59 +0200 |
commit | 50bd94942ebec16d01446de78145b54bd4596d0f (patch) | |
tree | e760e9a519d4a6a712222e4e7baf8cd9faef2feb /sonar-plugin-api | |
parent | 51d23709679ce32f273256a86474213157b6d718 (diff) | |
download | sonarqube-50bd94942ebec16d01446de78145b54bd4596d0f.tar.gz sonarqube-50bd94942ebec16d01446de78145b54bd4596d0f.zip |
Fix some quality flaws
Diffstat (limited to 'sonar-plugin-api')
4 files changed, 4 insertions, 4 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/coverage/CoverageType.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/coverage/CoverageType.java index cdde991667d..6597c3bcc01 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/coverage/CoverageType.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/coverage/CoverageType.java @@ -65,7 +65,7 @@ public enum CoverageType { private final Metric conditionsByLine; private final Set<Metric> all; - private CoverageType(Metric linesToCover, Metric uncoveredLines, Metric lineHitsData, Metric conditionsToCover, Metric uncoveredConditions, Metric coveredConditionsByLine, + CoverageType(Metric linesToCover, Metric uncoveredLines, Metric lineHitsData, Metric conditionsToCover, Metric uncoveredConditions, Metric coveredConditionsByLine, Metric conditionsByLine) { this.linesToCover = linesToCover; this.uncoveredLines = uncoveredLines; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/highlighting/TypeOfText.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/highlighting/TypeOfText.java index 559e44e61a6..6089f6f2161 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/highlighting/TypeOfText.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/highlighting/TypeOfText.java @@ -45,7 +45,7 @@ public enum TypeOfText { private final String cssClass; - private TypeOfText(String cssClass) { + TypeOfText(String cssClass) { this.cssClass = cssClass; } diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/internal/MockAnalysisMode.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/internal/MockAnalysisMode.java index 9193fdd3704..84980207ca3 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/internal/MockAnalysisMode.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/internal/MockAnalysisMode.java @@ -47,4 +47,4 @@ public class MockAnalysisMode implements AnalysisMode { public boolean isPublish() { return !isPreview && !isIssues; } -}
\ No newline at end of file +} diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/scan/filesystem/FileType.java b/sonar-plugin-api/src/main/java/org/sonar/api/scan/filesystem/FileType.java index 5156670d306..e2221a51497 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/scan/filesystem/FileType.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/scan/filesystem/FileType.java @@ -29,7 +29,7 @@ public enum FileType { private String typeValue; - private FileType(String typeValue) { + FileType(String typeValue) { this.typeValue = typeValue; } |