aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2012-06-14 15:03:55 +0200
committerDavid Gageot <david@gageot.net>2012-06-14 17:31:57 +0200
commit4512dbdb88949e10b1335d9eecdf182f5ad85a1e (patch)
tree2da6702029ffd5dbfd076c927ed5ef79f613a5d7 /plugins
parent83a9bc56f146b6c8e401ef3ed01a0dd5be8b0fe1 (diff)
downloadsonarqube-4512dbdb88949e10b1335d9eecdf182f5ad85a1e.tar.gz
sonarqube-4512dbdb88949e10b1335d9eecdf182f5ad85a1e.zip
SONAR-3451 Remove the "Chidamber & Kemerer" from the default dashboard
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/DefaultDashboard.java1
-rw-r--r--plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/dashboards/DefaultDashboardTest.java2
2 files changed, 1 insertions, 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);
}
}