]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3451 Remove the "Chidamber & Kemerer" from the default dashboard
authorDavid Gageot <david@gageot.net>
Thu, 14 Jun 2012 13:03:55 +0000 (15:03 +0200)
committerDavid Gageot <david@gageot.net>
Thu, 14 Jun 2012 15:31:57 +0000 (17:31 +0200)
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/DefaultDashboard.java
plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/dashboards/DefaultDashboardTest.java

index 318eb1e3861493eb5198ec55cf30ffa02a8a0187..6b120c9cd849dd3fe4143004b000a470e85996da 100644 (file)
@@ -58,7 +58,6 @@ public final class DefaultDashboard extends DashboardTemplate {
     dashboard.addWidget("alerts", 2);
     dashboard.addWidget("file_design", 2);
     dashboard.addWidget("package_design", 2);
-    dashboard.addWidget("ckjm", 2);
   }
 
 }
\ No newline at end of file
index 7e13f5c49951807287b81fc8216b6eeabdfe744c..e97352f80da7c360f66b3815b224c4ba2fd20c8a 100644 (file)
@@ -44,6 +44,6 @@ public class DefaultDashboardTest {
     Dashboard dashboard = template.createDashboard();
 
     assertThat(dashboard.getLayout()).isEqualTo(DashboardLayout.TWO_COLUMNS);
-    assertThat(dashboard.getWidgets()).hasSize(11);
+    assertThat(dashboard.getWidgets()).hasSize(10);
   }
 }