From 115b27e29758e7acace05279a47ee49fecc68394 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Thu, 20 Sep 2018 13:58:18 +0900 Subject: [PATCH] GerritServer#initAndStart: Remove unnecessary instantiation of Config Change-Id: Ia2cc08e17d06d81af4d69f3c1e6afb6fff890dfa --- .../test/java/com/google/gerrit/acceptance/GerritServer.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/gerrit-acceptance-framework/src/test/java/com/google/gerrit/acceptance/GerritServer.java b/gerrit-acceptance-framework/src/test/java/com/google/gerrit/acceptance/GerritServer.java index 5312c73cb4..b489076dcb 100644 --- a/gerrit-acceptance-framework/src/test/java/com/google/gerrit/acceptance/GerritServer.java +++ b/gerrit-acceptance-framework/src/test/java/com/google/gerrit/acceptance/GerritServer.java @@ -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);