aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2016-05-17 09:57:55 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2016-05-17 10:00:59 +0200
commit50bd94942ebec16d01446de78145b54bd4596d0f (patch)
treee760e9a519d4a6a712222e4e7baf8cd9faef2feb /sonar-plugin-api
parent51d23709679ce32f273256a86474213157b6d718 (diff)
downloadsonarqube-50bd94942ebec16d01446de78145b54bd4596d0f.tar.gz
sonarqube-50bd94942ebec16d01446de78145b54bd4596d0f.zip
Fix some quality flaws
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/coverage/CoverageType.java2
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/highlighting/TypeOfText.java2
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/internal/MockAnalysisMode.java2
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/scan/filesystem/FileType.java2
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;
}