diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-03-15 10:39:46 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-03-15 10:39:46 +0100 |
commit | 4bc2b8da3227c3aee75248ee9ee178875e49d386 (patch) | |
tree | 077aea5ab10f0a091629f9f24f9af3131c421220 /sonar-db/src | |
parent | 63e3178d2c454d17a7c507a0efca93770be40d41 (diff) | |
download | sonarqube-4bc2b8da3227c3aee75248ee9ee178875e49d386.tar.gz sonarqube-4bc2b8da3227c3aee75248ee9ee178875e49d386.zip |
Fix quality flaws
Diffstat (limited to 'sonar-db/src')
-rw-r--r-- | sonar-db/src/main/java/org/sonar/db/user/AuthorizationDao.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-db/src/main/java/org/sonar/db/user/AuthorizationDao.java b/sonar-db/src/main/java/org/sonar/db/user/AuthorizationDao.java index 4343e587b86..18f34820c04 100644 --- a/sonar-db/src/main/java/org/sonar/db/user/AuthorizationDao.java +++ b/sonar-db/src/main/java/org/sonar/db/user/AuthorizationDao.java @@ -73,7 +73,7 @@ public class AuthorizationDao implements Dao { } } - private List<String> keepAuthorizedComponentKeys(final DbSession session, final String componentKey, @Nullable final Integer userId, final String role) { + private static List<String> keepAuthorizedComponentKeys(final DbSession session, final String componentKey, @Nullable final Integer userId, final String role) { if (userId == null) { return session.getMapper(AuthorizationMapper.class).keepAuthorizedComponentKeysForAnonymous(role, Sets.newHashSet(componentKey)); } else { |