summaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2015-07-22 15:55:58 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2015-07-23 18:00:39 +0200
commit4e5aef7cfbdb1d1b0a3d8cf713ad38a7ec3ed460 (patch)
tree4565d37ae941ae7b71779f3722cd48b1eeb17433 /sonar-plugin-api
parent4d0c78ebece2588a78a16555645a1203c0dc20f2 (diff)
downloadsonarqube-4e5aef7cfbdb1d1b0a3d8cf713ad38a7ec3ed460.tar.gz
sonarqube-4e5aef7cfbdb1d1b0a3d8cf713ad38a7ec3ed460.zip
Remove formula on design metrics
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java b/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java
index b5b5cae4096..bdebc3ad0ed 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java
@@ -1724,7 +1724,6 @@ public final class CoreMetrics {
.setQualitative(true)
.setDomain(DOMAIN_DESIGN)
.setBestValue(0.0)
- .setFormula(new SumChildValuesFormula(false))
.create();
/**
@@ -1780,7 +1779,6 @@ public final class CoreMetrics {
.setDirection(Metric.DIRECTION_WORST)
.setQualitative(false)
.setDomain(DOMAIN_DESIGN)
- .setFormula(new SumChildValuesFormula(false))
.create();
/**
@@ -1808,7 +1806,6 @@ public final class CoreMetrics {
.setDirection(Metric.DIRECTION_WORST)
.setQualitative(false)
.setDomain(DOMAIN_DESIGN)
- .setFormula(new SumChildValuesFormula(false))
.setBestValue(0.0)
.create();
@@ -1837,7 +1834,6 @@ public final class CoreMetrics {
.setDirection(Metric.DIRECTION_BETTER)
.setQualitative(false)
.setDomain(DOMAIN_DESIGN)
- .setFormula(new SumChildValuesFormula(false))
.setHidden(true)
.setDeleteHistoricalData(true)
.create();