aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-db
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2016-03-22 17:54:55 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2016-03-22 17:54:55 +0100
commit7b9499e5c765523a97b6cf5d4cc157f08d449e78 (patch)
tree540563f02c9e23d3cac63a2f2f5a734b9745dfcb /sonar-db
parent6bc9a1d45c04a067371834980203ef753d32086d (diff)
downloadsonarqube-7b9499e5c765523a97b6cf5d4cc157f08d449e78.tar.gz
sonarqube-7b9499e5c765523a97b6cf5d4cc157f08d449e78.zip
Fix quality flaws
Diffstat (limited to 'sonar-db')
-rw-r--r--sonar-db/src/main/java/org/sonar/db/component/ResourceDao.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-db/src/main/java/org/sonar/db/component/ResourceDao.java b/sonar-db/src/main/java/org/sonar/db/component/ResourceDao.java
index c68302f8a4a..4624d3cf94d 100644
--- a/sonar-db/src/main/java/org/sonar/db/component/ResourceDao.java
+++ b/sonar-db/src/main/java/org/sonar/db/component/ResourceDao.java
@@ -64,7 +64,7 @@ public class ResourceDao extends AbstractDao {
return null;
}
- private List<ResourceDto> getResources(ResourceQuery query, SqlSession session) {
+ private static List<ResourceDto> getResources(ResourceQuery query, SqlSession session) {
return session.getMapper(ResourceMapper.class).selectResources(query);
}