]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4952 Remove default value of extra metric 2
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 13 Dec 2013 06:51:49 +0000 (07:51 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 13 Dec 2013 06:51:59 +0000 (07:51 +0100)
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/PieChartWidget.java

index b2dbcbfe3cce33d743c03745ba4ea91efc403912..012ea7bd6e7990f096c3fb56404c8272ee3cc5d9 100644 (file)
@@ -32,7 +32,7 @@ import static org.sonar.api.web.WidgetScope.GLOBAL;
   @WidgetProperty(key = "filter", type = WidgetPropertyType.FILTER, optional = false),
   @WidgetProperty(key = "mainMetric", type = WidgetPropertyType.METRIC, defaultValue = CoreMetrics.TECHNICAL_DEBT_KEY, options = {WidgetConstants.FILTER_OUT_NEW_METRICS}),
   @WidgetProperty(key = "extraMetric1", type = WidgetPropertyType.METRIC, defaultValue = CoreMetrics.NCLOC_KEY, options = {WidgetConstants.FILTER_OUT_NEW_METRICS}),
-  @WidgetProperty(key = "extraMetric2", type = WidgetPropertyType.METRIC, defaultValue = CoreMetrics.COMPLEXITY_KEY, options = {WidgetConstants.FILTER_OUT_NEW_METRICS})
+  @WidgetProperty(key = "extraMetric2", type = WidgetPropertyType.METRIC, options = {WidgetConstants.FILTER_OUT_NEW_METRICS})
 })
 public class PieChartWidget extends CoreWidget {