commit | f66a290f34c95465a7315e0ef90e00e2224b5af9 | [log] [tgz] |
---|---|---|
author | Colby Ranger <cranger@google.com> | Fri May 11 15:50:42 2012 -0700 |
committer | Colby Ranger <cranger@google.com> | Fri May 11 15:50:42 2012 -0700 |
tree | 1c92b54a894c592a15a83bc514b0e78b5af1c737 | |
parent | 5d047b2df334dbcf175181fcb111ac501f5a469b [diff] |
Fix bug with member assignment order in PushReplication. The groupCache was being used before it was set in the class. Fix the ordering of the assignment. Change-Id: I969c2c9e51934cc01e0b4983a7c884d8f88fb34f
diff --git a/gerrit-server/src/main/java/com/google/gerrit/server/git/PushReplication.java b/gerrit-server/src/main/java/com/google/gerrit/server/git/PushReplication.java index 5bff0ad..05032b7 100644 --- a/gerrit-server/src/main/java/com/google/gerrit/server/git/PushReplication.java +++ b/gerrit-server/src/main/java/com/google/gerrit/server/git/PushReplication.java
@@ -113,8 +113,8 @@ database = db; replicationUserFactory = ruf; gitRepositoryManager = grm; - configs = allConfigs(site); groupCache = gc; + configs = allConfigs(site); } @Override