From: Julien HENRY Date: Thu, 13 Jun 2013 13:24:12 +0000 (+0200) Subject: Fix some quality flaws X-Git-Tag: 3.7~481 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c6bdc279d149d83502736ddb0d238fbf5a305998;p=sonarqube.git Fix some quality flaws --- 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)) {