aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-06-05 10:44:30 +0200
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-06-05 10:44:30 +0200
commit2029453c4933b478ff50d50d31e99d225a783ff6 (patch)
treeb0a2aa85a3e3aafd612138c3035a9de7d2af598e /sonar-core
parent58690404a2fcb8de9c0902bb1919dad2004b4da2 (diff)
downloadsonarqube-2029453c4933b478ff50d50d31e99d225a783ff6.tar.gz
sonarqube-2029453c4933b478ff50d50d31e99d225a783ff6.zip
fix bunch a 'Make 'XXX' a static method' issues
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/purge/PurgeDao.java13
1 files changed, 6 insertions, 7 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 e35163b64d8..6675a98f10e 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
@@ -20,6 +20,11 @@
package org.sonar.core.purge;
import com.google.common.collect.Lists;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.Date;
+import java.util.List;
import org.apache.commons.lang.ArrayUtils;
import org.apache.ibatis.session.ResultContext;
import org.apache.ibatis.session.ResultHandler;
@@ -33,12 +38,6 @@ import org.sonar.core.persistence.MyBatis;
import org.sonar.core.resource.ResourceDao;
import org.sonar.core.resource.ResourceDto;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.Date;
-import java.util.List;
-
import static org.sonar.api.utils.DateUtils.dateToLong;
/**
@@ -187,7 +186,7 @@ public class PurgeDao implements DaoComponent {
return this;
}
- private void deleteFileSources(String rootUuid, PurgeCommands commands) {
+ private static void deleteFileSources(String rootUuid, PurgeCommands commands) {
commands.deleteFileSources(rootUuid);
}