From 4512dbdb88949e10b1335d9eecdf182f5ad85a1e Mon Sep 17 00:00:00 2001 From: David Gageot Date: Thu, 14 Jun 2012 15:03:55 +0200 Subject: [PATCH] SONAR-3451 Remove the "Chidamber & Kemerer" from the default dashboard --- .../org/sonar/plugins/core/dashboards/DefaultDashboard.java | 1 - .../org/sonar/plugins/core/dashboards/DefaultDashboardTest.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/DefaultDashboard.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/DefaultDashboard.java index 318eb1e3861..6b120c9cd84 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/DefaultDashboard.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/DefaultDashboard.java @@ -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 diff --git a/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/dashboards/DefaultDashboardTest.java b/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/dashboards/DefaultDashboardTest.java index 7e13f5c4995..e97352f80da 100644 --- a/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/dashboards/DefaultDashboardTest.java +++ b/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/dashboards/DefaultDashboardTest.java @@ -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); } } -- 2.39.5