From fb0b562b2edd3656313c0f8ddbca90129ad687a7 Mon Sep 17 00:00:00 2001 From: dzmipt Date: Fri, 7 Jun 2024 13:06:08 +0200 Subject: [PATCH] small refactor --- test/studio/kdb/ConfigTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/studio/kdb/ConfigTest.java b/test/studio/kdb/ConfigTest.java index adf4d0d6..77a48f30 100644 --- a/test/studio/kdb/ConfigTest.java +++ b/test/studio/kdb/ConfigTest.java @@ -166,7 +166,7 @@ private Config getConfig(Properties properties) throws IOException { private Config copyConfig(Config config, Consumer propsModification) throws IOException { config.saveToDisk(); Properties p = new Properties(); - p.load(new FileInputStream(config.getFilename())); + p.load(new FileInputStream(tmpFile)); propsModification.accept(p); return getConfig(p); }