summaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2015-07-21 10:25:23 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2015-07-21 10:31:39 +0200
commit7939654552821021be874e90bf0b65dda5af528e (patch)
tree1c367488b20fd1ef1995779f0f3c0cbf0405ff61 /sonar-plugin-api
parent8b1835860ef2b530c18a57c9385f6c3e9f15c850 (diff)
downloadsonarqube-7939654552821021be874e90bf0b65dda5af528e.tar.gz
sonarqube-7939654552821021be874e90bf0b65dda5af528e.zip
Allow COMMENTED_OUT_CODE_LINES and PACKAGES to be send by the batch
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java2
1 files changed, 0 insertions, 2 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 b7a623c1d16..c1705f2d947 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
@@ -149,7 +149,6 @@ public final class CoreMetrics {
.setDirection(Metric.DIRECTION_WORST)
.setQualitative(false)
.setDomain(DOMAIN_SIZE)
- .setFormula(new SumChildValuesFormula(false))
.setHidden(true)
.create();
@@ -273,7 +272,6 @@ public final class CoreMetrics {
.setDirection(Metric.DIRECTION_WORST)
.setQualitative(true)
.setDomain(DOMAIN_DOCUMENTATION)
- .setFormula(new SumChildValuesFormula(false))
.setBestValue(0.0)
.setOptimizedBestValue(true)
.setHidden(true)