summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-12-03 14:42:10 -0500
committerJames Moger <james.moger@gitblit.com>2014-12-03 14:42:10 -0500
commitd316f8749213af7f25610ce6a7b8cb1391218fde (patch)
tree989629db897feda166ee61619c6ad5044f03cf34
parentad2c0a2b8323fb0f2c7f779a717b342ad35fad2b (diff)
downloadgitblit-d316f8749213af7f25610ce6a7b8cb1391218fde.tar.gz
gitblit-d316f8749213af7f25610ce6a7b8cb1391218fde.zip
Use startManager(X) from startManager(Injector, Class)
-rw-r--r--src/main/java/com/gitblit/servlet/GitblitContext.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/com/gitblit/servlet/GitblitContext.java b/src/main/java/com/gitblit/servlet/GitblitContext.java
index 85b47205..077624c2 100644
--- a/src/main/java/com/gitblit/servlet/GitblitContext.java
+++ b/src/main/java/com/gitblit/servlet/GitblitContext.java
@@ -261,9 +261,7 @@ public class GitblitContext extends GuiceServletContextListener {
protected <X extends IManager> X startManager(Injector injector, Class<X> clazz) {
X x = loadManager(injector, clazz);
logManager(clazz);
- x.start();
- managers.add(x);
- return x;
+ return startManager(x);
}
protected <X extends IManager> X startManager(X x) {