aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2015-04-17 15:32:52 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2015-04-22 22:18:07 +0200
commitc8d6f37f0f6ff1bc7c6107350e4954bda086a14d (patch)
treef8ce9b06c3fd91c2207cc63bb03f47153c263fc1 /sonar-batch
parent6af2a9e23d6670dfd92e6d9948a920b5b70b2626 (diff)
downloadsonarqube-c8d6f37f0f6ff1bc7c6107350e4954bda086a14d.tar.gz
sonarqube-c8d6f37f0f6ff1bc7c6107350e4954bda086a14d.zip
Speed up highlighting on batch side
Diffstat (limited to 'sonar-batch')
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/sensor/DefaultSensorStorage.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/sensor/DefaultSensorStorage.java b/sonar-batch/src/main/java/org/sonar/batch/sensor/DefaultSensorStorage.java
index f73c35c0679..63109a53d85 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/sensor/DefaultSensorStorage.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/sensor/DefaultSensorStorage.java
@@ -231,8 +231,6 @@ public class DefaultSensorStorage implements SensorStorage {
@Override
public BatchReport.SyntaxHighlighting apply(SyntaxHighlightingRule input) {
- builder.clear();
- rangeBuilder.clear();
builder.setRange(rangeBuilder.setStartLine(input.range().start().line())
.setStartOffset(input.range().start().lineOffset())
.setEndLine(input.range().end().line())