From 0aea85c8dc437d31e330ef4f44a4ff60ad67ccd0 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Mon, 14 Apr 2014 13:45:17 +0200 Subject: [PATCH] SONAR-3113 Apply David's feedback --- .../core/widgets/measures/MeasureFilterAsCloudWidget.java | 2 +- .../src/main/resources/org/sonar/l10n/core.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/measures/MeasureFilterAsCloudWidget.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/measures/MeasureFilterAsCloudWidget.java index a287ed664c4..9cb81247070 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/measures/MeasureFilterAsCloudWidget.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/measures/MeasureFilterAsCloudWidget.java @@ -29,8 +29,8 @@ import static org.sonar.api.web.WidgetScope.GLOBAL; @WidgetCategory({"Filters", "Global"}) @WidgetScope(GLOBAL) @WidgetProperties({ - @WidgetProperty(key = "chartTitle", type = WidgetPropertyType.STRING), @WidgetProperty(key = "filter", type = WidgetPropertyType.FILTER, optional = false), + @WidgetProperty(key = "chartTitle", type = WidgetPropertyType.STRING), @WidgetProperty(key = "sizeMetric", type = WidgetPropertyType.METRIC, defaultValue = CoreMetrics.COMPLEXITY_KEY, options = {WidgetConstants.FILTER_OUT_NEW_METRICS}), @WidgetProperty(key = "colorMetric", type = WidgetPropertyType.METRIC, defaultValue = CoreMetrics.COVERAGE_KEY, options = { WidgetConstants.FILTER_OUT_NEW_METRICS, "type:PERCENT" }), diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties index 1ac5d3db494..c9a1ae7140a 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties @@ -1161,7 +1161,7 @@ widget.project_file_cloud.property.chartTitle.name=Chart Title widget.project_file_cloud.property.filter.name=Filter widget.project_file_cloud.property.colorMetric.name=Color Metric widget.project_file_cloud.property.sizeMetric.name=Size Metric -widget.project_file_cloud.property.maxItems.name=Max components +widget.project_file_cloud.property.maxItems.name=Max Components widget.project_file_cloud.property.maxItems.desc=Maximum number of components to show widget.time_machine.name=History Table -- 2.39.5