]> source.dussan.org Git - sonarqube.git/commitdiff
Fix some quality flaws
authorJulien HENRY <julien.henry@sonarsource.com>
Thu, 13 Jun 2013 13:24:12 +0000 (15:24 +0200)
committerJulien HENRY <julien.henry@sonarsource.com>
Mon, 17 Jun 2013 07:46:41 +0000 (09:46 +0200)
sonar-core/src/main/java/org/sonar/core/purge/PurgeDao.java

index fd8c0cfecc263fbd8859a731e155a924f8de1ee5..df89b5c3a3a6614d3a814956f7bc90cc0affc1dd 100644 (file)
@@ -100,8 +100,10 @@ public class PurgeDao {
 
   private void purge(ResourceDto project, String[] scopesWithoutHistoricalData, PurgeCommands purgeCommands) {
     List<Long> 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)) {