]> source.dussan.org Git - sonarqube.git/commitdiff
Fix quality flaws
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 9 May 2016 12:23:04 +0000 (14:23 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 9 May 2016 21:10:31 +0000 (23:10 +0200)
server/sonar-server/src/main/java/org/sonar/server/issue/IssueBulkChangeService.java
server/sonar-server/src/main/java/org/sonar/server/measure/MeasureFilterCondition.java
sonar-plugin-api/src/main/java/org/sonar/api/server/ws/WebService.java
sonar-plugin-api/src/main/java/org/sonar/api/web/DashboardLayout.java

index 352defecc4be1c8e398d86cd854fe50e4fbfb867..9d1d7eba9e059fb54119005e1e6de90db38c5c3a 100644 (file)
@@ -128,7 +128,7 @@ public class IssueBulkChangeService {
   private Collection<Issue> getByKeysForUpdate(List<String> issueKeys) {
     // Load from index to check permission
     SearchOptions options = new SearchOptions().setLimit(SearchOptions.MAX_LIMIT);
-    // TODO restrict fields to issue key, in order to not load all other fields;
+    // TODO restrict fields to issue key, in order to not load all other fields
     List<IssueDoc> authorizedIssues = issueIndex.search(IssueQuery.builder(userSession).issueKeys(issueKeys).build(), options).getDocs();
     Collection<String> authorizedKeys = Collections2.transform(authorizedIssues, new Function<IssueDoc, String>() {
       @Override
index 499e575998798527284d56049c2a0a220089240b..3deaa13005dcb20ab132e2c85111aeea3fa1b339 100644 (file)
@@ -30,7 +30,7 @@ public class MeasureFilterCondition {
     private String code;
     private String sql;
 
-    private Operator(String code, String sql) {
+    Operator(String code, String sql) {
       this.code = code;
       this.sql = sql;
     }
index 3a9b87fe478f2dd9f61f7da9d75f6ee34c42e20b..d4bed5bb27a81ce3d33f27e757691dba04a41478 100644 (file)
@@ -694,7 +694,7 @@ public interface WebService extends Definable<WebService.Context> {
       }
     });
 
-    private SelectionMode(String paramValue) {
+    SelectionMode(String paramValue) {
       this.paramValue = paramValue;
     }
 
index 1980d835853a246bfada3b69bf8d94386e415fc4..346a5f8dcf55424455e503b444215eecf931c843 100644 (file)
@@ -54,7 +54,7 @@ public enum DashboardLayout {
   private String code;
   private int columns;
 
-  private DashboardLayout(String code, int columns) {
+  DashboardLayout(String code, int columns) {
     this.code = code;
     this.columns = columns;
   }