]> source.dussan.org Git - sonarqube.git/commitdiff
Revert useless dependency
authorSimon Brandhof <simon.brandhof@gmail.com>
Mon, 28 May 2012 06:59:07 +0000 (08:59 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Mon, 28 May 2012 06:59:32 +0000 (08:59 +0200)
sonar-server/src/main/java/org/sonar/server/startup/RegisterNewDashboards.java
sonar-server/src/test/java/org/sonar/server/startup/RegisterNewDashboardsTest.java

index f20df48ae39726db212a75c93a5b2a40dc9ef542..d601f2de2c50086a7fc075f24c973b0f5c0688d8 100644 (file)
@@ -52,8 +52,7 @@ public final class RegisterNewDashboards {
   private final LoadedTemplateDao loadedTemplateDao;
 
   public RegisterNewDashboards(DashboardTemplate[] dashboardTemplatesArray, DashboardDao dashboardDao,
-      ActiveDashboardDao activeDashboardDao, LoadedTemplateDao loadedTemplateDao,
-      /* filters must be registered before dashboards when filter widgets are used */ RegisterNewFilters registerNewFilters) {
+      ActiveDashboardDao activeDashboardDao, LoadedTemplateDao loadedTemplateDao) {
     this.dashboardTemplates = Lists.newArrayList(dashboardTemplatesArray);
     this.dashboardDao = dashboardDao;
     this.activeDashboardDao = activeDashboardDao;
index 7af8b78c4b69b895908245b9f4e3885d3d813bfb..db46e42c30b037c44ec0b920bea87642b685d59e 100644 (file)
@@ -64,7 +64,7 @@ public class RegisterNewDashboardsTest {
     fakeDashboardTemplate = mock(DashboardTemplate.class);
 
     task = new RegisterNewDashboards(new DashboardTemplate[] {fakeDashboardTemplate}, dashboardDao,
-        activeDashboardDao, loadedTemplateDao, null);
+        activeDashboardDao, loadedTemplateDao);
   }
 
   @Test