diff options
author | James Moger <james.moger@gitblit.com> | 2014-03-18 17:21:47 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-04-10 18:58:09 -0400 |
commit | 41a7e46579d12e36c583aa8c2418e49c3f4c29a4 (patch) | |
tree | bb96e0b1cf6e1fd4b8d42b5536d68f9aafcbd9fa /src/main/java/com/gitblit/FederationClient.java | |
parent | 821eb4bbe1a4fac8d17b4df96ab6441985df58d7 (diff) | |
download | gitblit-41a7e46579d12e36c583aa8c2418e49c3f4c29a4.tar.gz gitblit-41a7e46579d12e36c583aa8c2418e49c3f4c29a4.zip |
Style: changed manager order to reflect dependency chain
Managers are mostly declared in dependency order. Managers with fewer dependencies are first. They are likely to be components of other managers. Also eliminated import artifacts from the cherry-pick.
Diffstat (limited to 'src/main/java/com/gitblit/FederationClient.java')
-rw-r--r-- | src/main/java/com/gitblit/FederationClient.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/FederationClient.java b/src/main/java/com/gitblit/FederationClient.java index 67a68654..c3dcd9da 100644 --- a/src/main/java/com/gitblit/FederationClient.java +++ b/src/main/java/com/gitblit/FederationClient.java @@ -97,7 +97,7 @@ public class FederationClient { UserManager users = new UserManager(runtime).start();
RepositoryManager repositories = new RepositoryManager(runtime, users).start();
FederationManager federation = new FederationManager(runtime, notifications, repositories).start();
- IGitblit gitblit = new GitblitManager(runtime, notifications, users, null, null, repositories, null, federation, null);
+ IGitblit gitblit = new GitblitManager(runtime, null, notifications, users, null, null, repositories, null, federation);
FederationPullService puller = new FederationPullService(gitblit, federation.getFederationRegistrations()) {
@Override
|