]> source.dussan.org Git - sonarqube.git/commitdiff
Fix some quality flaws
authorJulien HENRY <julien.henry@sonarsource.com>
Tue, 16 Jul 2013 15:18:24 +0000 (17:18 +0200)
committerJulien HENRY <julien.henry@sonarsource.com>
Tue, 16 Jul 2013 15:18:50 +0000 (17:18 +0200)
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/IssueTrackingDecorator.java

index 0d4c6a1356fcb19d94f56c2a92297571728420f3..7ee64903dc7ed9f08ab1641572bf80953412b004 100644 (file)
@@ -523,7 +523,6 @@ public final class CorePlugin extends SonarPlugin {
 
         // Notify alerts on my favourite projects
         NewAlerts.class,
-        NewAlerts.newMetadata()
-        );
+        NewAlerts.newMetadata());
   }
 }
index 7b1a97aba85f3c50fc648d6e4263aa27211c2c91..9685cd217f801f526927dcbc0edf053b1826be98 100644 (file)
@@ -32,9 +32,6 @@ import org.sonar.api.issue.Issuable;
 import org.sonar.api.issue.Issue;
 import org.sonar.api.issue.internal.DefaultIssue;
 import org.sonar.api.issue.internal.IssueChangeContext;
-import org.sonar.api.measures.CoreMetrics;
-import org.sonar.api.measures.FileLinesContext;
-import org.sonar.api.measures.FileLinesContextFactory;
 import org.sonar.api.profiles.RulesProfile;
 import org.sonar.api.resources.Project;
 import org.sonar.api.resources.Resource;
@@ -66,12 +63,12 @@ public class IssueTrackingDecorator implements Decorator {
   private final RuleFinder ruleFinder;
 
   public IssueTrackingDecorator(IssueCache issueCache, InitialOpenIssuesStack initialOpenIssues, IssueTracking tracking,
-                                IssueHandlers handlers, IssueWorkflow workflow,
-                                IssueUpdater updater,
-                                Project project,
-                                ResourcePerspectives perspectives,
-                                RulesProfile rulesProfile,
-                                RuleFinder ruleFinder) {
+      IssueHandlers handlers, IssueWorkflow workflow,
+      IssueUpdater updater,
+      Project project,
+      ResourcePerspectives perspectives,
+      RulesProfile rulesProfile,
+      RuleFinder ruleFinder) {
     this.issueCache = issueCache;
     this.initialOpenIssues = initialOpenIssues;
     this.tracking = tracking;