]> source.dussan.org Git - sonarqube.git/commitdiff
Fix minor quality flaws
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 7 Dec 2015 17:53:12 +0000 (18:53 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 7 Dec 2015 17:53:12 +0000 (18:53 +0100)
server/sonar-server/src/main/java/org/sonar/server/dashboard/template/ProjectCustomDashboard.java
sonar-core/src/main/java/org/sonar/core/issue/IssueUpdater.java

index bb24d96305bfe2d74ae8c9b17d496c566e5969bf..b6cc59a0357b750266b1878acd7ff14694f60be9 100644 (file)
@@ -54,7 +54,7 @@ public final class ProjectCustomDashboard extends DashboardTemplate {
     return dashboard;
   }
 
-  private void addFirstColumn(Dashboard dashboard) {
+  private static void addFirstColumn(Dashboard dashboard) {
     dashboard.addWidget("size", 1);
     dashboard.addWidget("code_coverage", 1);
     dashboard.addWidget("duplications", 1);
index a495a73d4ae12daa41587ce3bd773123c8c0e709..987ede53b0b7ad8fea54cad8c6b70c6c9edef035 100644 (file)
@@ -22,9 +22,7 @@ package org.sonar.core.issue;
 import com.google.common.base.Function;
 import com.google.common.base.Joiner;
 import com.google.common.base.Objects;
-import com.google.common.base.Preconditions;
 import com.google.common.base.Predicate;
-import com.google.common.base.Strings;
 import com.google.common.collect.Collections2;
 import com.google.common.collect.Sets;
 import java.util.Calendar;