Files
gerrit/gerrit-server
Dariusz Luksza 17ad3df4d9 Allow to use AccountCache out of request scope
Before change I13f2d6ab94 AccountCache could be used out of the request
scope. Using Provider<ReviewDb> in ByNameReviewDbLoader class implicitly
add new constraint on AccountCache, namely it must be used in request
scope.

Injecting SchemaFactory<ReviewDb> instead of Provider fixes this
regression.

Change-Id: I398e02cb138302cd99a2fb68fadcc4d6c6176395
Signed-off-by: Dariusz Luksza <dluksza@collab.net>
2017-06-06 10:40:23 +00:00
..