From 31e3b1d725b793223766fa92059138515db68a54 Mon Sep 17 00:00:00 2001 From: David B Malkovsky Date: Sat, 9 Nov 2024 05:35:42 -0500 Subject: [PATCH] OP-1157 use text block instead of concatenation (JDK 15) (#1446) --- .../configProvider/TestApiConfigProvider.java | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/test/java/org/isf/generaldata/configProvider/TestApiConfigProvider.java b/src/test/java/org/isf/generaldata/configProvider/TestApiConfigProvider.java index c9ff18a19..53a0d3526 100644 --- a/src/test/java/org/isf/generaldata/configProvider/TestApiConfigProvider.java +++ b/src/test/java/org/isf/generaldata/configProvider/TestApiConfigProvider.java @@ -41,14 +41,15 @@ public class TestApiConfigProvider { - private static final String CONFIG_JSON = "{\n" + - " \"1.15.0\": {\n" + - " \"parameter\": \"https://version-url.com\"\n" + - " },\n" + - " \"default\": {\n" + - " \"parameter\": \"https://default-url.com\"\n" + - " }\n" + - "}"; + private static final String CONFIG_JSON = """ + { + "1.15.0": { + "parameter": "https://version-url.com" + }, + "default": { + "parameter": "https://default-url.com" + } + }"""; private ClientAndServer mockServer;