aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2014-04-24 18:05:36 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2014-04-24 18:06:12 +0200
commit478383011bba15b19869380384aa569697706681 (patch)
tree1f0f66340ab9ea018b73049cbb836e5eb7a4731e /sonar-batch
parent26680d528d424837683d5a1edf4e3c7f85c53d92 (diff)
downloadsonarqube-478383011bba15b19869380384aa569697706681.tar.gz
sonarqube-478383011bba15b19869380384aa569697706681.zip
Revert "SONAR-3437 Remove Measure from Hibernate model"
This reverts commit cafd76d5317716817c0f15a402d820a6e80d19a9.
Diffstat (limited to 'sonar-batch')
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/index/MeasurePersister.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/index/MeasurePersister.java b/sonar-batch/src/main/java/org/sonar/batch/index/MeasurePersister.java
index 0512f5b1aa3..80cac3ab4cb 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/index/MeasurePersister.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/index/MeasurePersister.java
@@ -58,6 +58,7 @@ public final class MeasurePersister implements ScanPersister {
SqlSession session = mybatis.openSession();
try {
MeasureMapper mapper = session.getMapper(MeasureMapper.class);
+
for (Entry<Measure> entry : measureCache.entries()) {
String effectiveKey = entry.key()[0].toString();
Measure measure = entry.value();