aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-db
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-08-18 18:19:10 +0200
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-08-18 18:19:10 +0200
commit157ab0155285444751f45f2a7522259772a71994 (patch)
tree812d6e898b4b4323d8039a6e0e9debc3e80a88c2 /sonar-db
parentc669c3a34dfce5839f8d4f614165cd3ef0240727 (diff)
downloadsonarqube-157ab0155285444751f45f2a7522259772a71994.tar.gz
sonarqube-157ab0155285444751f45f2a7522259772a71994.zip
Fix quality flaws
Diffstat (limited to 'sonar-db')
-rw-r--r--sonar-db/src/main/java/org/sonar/db/permission/PermissionTemplateDao.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-db/src/main/java/org/sonar/db/permission/PermissionTemplateDao.java b/sonar-db/src/main/java/org/sonar/db/permission/PermissionTemplateDao.java
index e94b7484353..8a23ed1562f 100644
--- a/sonar-db/src/main/java/org/sonar/db/permission/PermissionTemplateDao.java
+++ b/sonar-db/src/main/java/org/sonar/db/permission/PermissionTemplateDao.java
@@ -108,7 +108,7 @@ public class PermissionTemplateDao implements Dao {
return mapper(session).countGroups(parameters);
}
- private Map<String, Object> groupsParamaters(PermissionQuery query, Long templateId) {
+ private static Map<String, Object> groupsParamaters(PermissionQuery query, Long templateId) {
Map<String, Object> params = newHashMap();
params.put(QUERY_PARAMETER, query);
params.put(TEMPLATE_ID_PARAMETER, templateId);