GerritServer#initAndStart: Remove unnecessary instantiation of Config
Change-Id: Ia2cc08e17d06d81af4d69f3c1e6afb6fff890dfa
This commit is contained in:
parent
976934fc14
commit
115b27e297
@ -229,8 +229,6 @@ public class GerritServer implements AutoCloseable {
|
||||
*/
|
||||
public static GerritServer initAndStart(Description desc, Config baseConfig) throws Exception {
|
||||
Path site = TempFileUtil.createTempDirectory().toPath();
|
||||
baseConfig = new Config(baseConfig);
|
||||
baseConfig.setString("gerrit", null, "tempSiteDir", site.toString());
|
||||
try {
|
||||
if (!desc.memory()) {
|
||||
init(desc, baseConfig, site);
|
||||
|
Loading…
Reference in New Issue
Block a user