refactor: replace string concatenation with {} placeholders in log statements

Signed-off-by: Sun Yuhan <sunyuhan1998@users.noreply.github.com>
This commit is contained in:
Sun Yuhan 2025-07-10 20:14:43 +08:00 • committed by Christian Tzolov
commit d282d40a38

View file

@ -47,7 +47,7 @@ class McpClientSessionTests {
void setUp() {
transport = new MockMcpClientTransport();
session = new McpClientSession(TIMEOUT, transport, Map.of(),
Map.of(TEST_NOTIFICATION, params -> Mono.fromRunnable(() -> logger.info("Status update: " + params))));
Map.of(TEST_NOTIFICATION, params -> Mono.fromRunnable(() -> logger.info("Status update: {}", params))));
}
@AfterEach