aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.http.test
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jgit.http.test')
-rw-r--r--org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java b/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java
index 491094ca6d..f73f54ffba 100644
--- a/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java
+++ b/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java
@@ -500,9 +500,10 @@ public class SmartClientSmartServerTest extends HttpTestCase {
enableReceivePack();
- db.getConfig().setInt("core", null, "compression", 0);
- db.getConfig().setInt("http", null, "postbuffer", 8 * 1024);
- db.getConfig().save();
+ final FileBasedConfig cfg = db.getConfig();
+ cfg.setInt("core", null, "compression", 0);
+ cfg.setInt("http", null, "postbuffer", 8 * 1024);
+ cfg.save();
t = Transport.open(db, remoteURI);
try {