From c6bdc279d149d83502736ddb0d238fbf5a305998 Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Thu, 13 Jun 2013 15:24:12 +0200 Subject: [PATCH] Fix some quality flaws --- sonar-core/src/main/java/org/sonar/core/purge/PurgeDao.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sonar-core/src/main/java/org/sonar/core/purge/PurgeDao.java b/sonar-core/src/main/java/org/sonar/core/purge/PurgeDao.java index fd8c0cfecc2..df89b5c3a3a 100644 --- a/sonar-core/src/main/java/org/sonar/core/purge/PurgeDao.java +++ b/sonar-core/src/main/java/org/sonar/core/purge/PurgeDao.java @@ -100,8 +100,10 @@ public class PurgeDao { private void purge(ResourceDto project, String[] scopesWithoutHistoricalData, PurgeCommands purgeCommands) { List projectSnapshotIds = purgeCommands.selectSnapshotIds( - PurgeSnapshotQuery.create().setResourceId(project.getId()).setIslast(false).setNotPurged(true) - ); + PurgeSnapshotQuery.create() + .setResourceId(project.getId()) + .setIslast(false) + .setNotPurged(true)); for (final Long projectSnapshotId : projectSnapshotIds) { LOG.info("<- Clean snapshot " + projectSnapshotId); if (!ArrayUtils.isEmpty(scopesWithoutHistoricalData)) { -- 2.39.5