summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/GitblitUserService.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2013-11-19 08:01:23 -0500
committerJames Moger <james.moger@gitblit.com>2013-11-29 11:05:50 -0500
commit5200b359257c2ab5e29781c2b05c6092fc8338f8 (patch)
tree7d0a02b17ce9897576845d8376ce67fe3f7e9532 /src/main/java/com/gitblit/GitblitUserService.java
parentcacf8bff097fbb66a7be1bfe267b5da2605145f8 (diff)
downloadgitblit-5200b359257c2ab5e29781c2b05c6092fc8338f8.tar.gz
gitblit-5200b359257c2ab5e29781c2b05c6092fc8338f8.zip
Eliminate static singleton calls from user services
Change-Id: Ieec34483822f033b19d3ff3259d071c9bc091ed1
Diffstat (limited to 'src/main/java/com/gitblit/GitblitUserService.java')
-rw-r--r--src/main/java/com/gitblit/GitblitUserService.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/com/gitblit/GitblitUserService.java b/src/main/java/com/gitblit/GitblitUserService.java
index ba4c9c5d..7278b222 100644
--- a/src/main/java/com/gitblit/GitblitUserService.java
+++ b/src/main/java/com/gitblit/GitblitUserService.java
@@ -59,8 +59,7 @@ public class GitblitUserService implements IUserService {
}
@Override
- public void setup(IStoredSettings settings) {
- IRuntimeManager runtimeManager = GitBlit.getManager(IRuntimeManager.class);
+ public void setup(IRuntimeManager runtimeManager) {
File realmFile = runtimeManager.getFileOrFolder(Keys.realm.userService, "${baseFolder}/users.conf");
serviceImpl = createUserService(realmFile);
logger.info("GUS delegating to " + serviceImpl.toString());