diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-06-29 11:39:44 +0200 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-07-04 15:20:30 +0200 |
commit | 3f55a9c69829198a0931f45e5a85f19960af37b5 (patch) | |
tree | 677688824c20cd0bbbb09b51d3455a431bd661b6 /server | |
parent | 57954d360f60214e732aa002f03af12f69e21d49 (diff) | |
download | sonarqube-3f55a9c69829198a0931f45e5a85f19960af37b5.tar.gz sonarqube-3f55a9c69829198a0931f45e5a85f19960af37b5.zip |
SONAR-7705 ProjectCleaner now deal with analyses (not snapshots)
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-server/src/main/java/org/sonar/server/computation/dbcleaner/ProjectCleaner.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/computation/dbcleaner/ProjectCleaner.java b/server/sonar-server/src/main/java/org/sonar/server/computation/dbcleaner/ProjectCleaner.java index 2e9e064007f..68c18ee5347 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/computation/dbcleaner/ProjectCleaner.java +++ b/server/sonar-server/src/main/java/org/sonar/server/computation/dbcleaner/ProjectCleaner.java @@ -76,12 +76,12 @@ public class ProjectCleaner { } } - private void cleanHistoricalData(DbSession session, String componentUuid, Settings settings) { + private void cleanHistoricalData(DbSession session, String rootUuid, Settings settings) { try { - periodCleaner.clean(session, componentUuid, settings); + periodCleaner.clean(session, rootUuid, settings); } catch (Exception e) { // purge errors must no fail the batch - LOG.error("Fail to clean historical data [uuid=" + componentUuid + "]", e); + LOG.error("Fail to clean historical data [uuid=" + rootUuid + "]", e); } } |