aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch-protocol
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2015-07-21 16:25:51 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2015-07-21 17:31:55 +0200
commit1f655d484cecd606c7c4af4a3452dd25801f1bd6 (patch)
treef95347ed8a23c0a1b72d1cb62de5ad36ae58c716 /sonar-batch-protocol
parent1066a59abeb3e3cafda581b84b87fada2a5947a2 (diff)
downloadsonarqube-1f655d484cecd606c7c4af4a3452dd25801f1bd6.tar.gz
sonarqube-1f655d484cecd606c7c4af4a3452dd25801f1bd6.zip
Remove useless usage of BatchReport.Measure.setDescription() and setVariationXXX()
Batch doesn't send anymore measure with variations, and description is no more used
Diffstat (limited to 'sonar-batch-protocol')
-rw-r--r--sonar-batch-protocol/src/test/java/org/sonar/batch/protocol/output/BatchReportWriterTest.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/sonar-batch-protocol/src/test/java/org/sonar/batch/protocol/output/BatchReportWriterTest.java b/sonar-batch-protocol/src/test/java/org/sonar/batch/protocol/output/BatchReportWriterTest.java
index 9154effb05c..e19e044d2c5 100644
--- a/sonar-batch-protocol/src/test/java/org/sonar/batch/protocol/output/BatchReportWriterTest.java
+++ b/sonar-batch-protocol/src/test/java/org/sonar/batch/protocol/output/BatchReportWriterTest.java
@@ -124,7 +124,6 @@ public class BatchReportWriterTest {
.setStringValue("text-value")
.setDoubleValue(2.5d)
.setValueType(Constants.MeasureValueType.DOUBLE)
- .setDescription("description")
.build();
underTest.writeComponentMeasures(1, Arrays.asList(measure));