Skip to content

Commit 629f4df

Browse files
committed
Fix formatting
Signed-off-by: Dariusz Jędrzejczyk <2554306+chemicL@users.noreply.github.com>
1 parent 57abc3c commit 629f4df

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

conformance-tests/server-servlet/src/main/java/io/modelcontextprotocol/conformance/server/ConformanceServlet.java

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -237,15 +237,14 @@ private static List<McpServerFeatures.SyncToolSpecification> createToolSpecs() {
237237
.callHandler((exchange, request) -> {
238238
logger.info("Tool 'test_tool_with_logging' called");
239239
// Send log notifications
240-
exchange.loggingNotification(LoggingMessageNotification
241-
.builder(LoggingLevel.INFO, "Tool execution started")
242-
.build());
243-
exchange.loggingNotification(LoggingMessageNotification
244-
.builder(LoggingLevel.INFO, "Tool processing data")
245-
.build());
246-
exchange.loggingNotification(LoggingMessageNotification
247-
.builder(LoggingLevel.INFO, "Tool execution completed")
248-
.build());
240+
exchange.loggingNotification(
241+
LoggingMessageNotification.builder(LoggingLevel.INFO, "Tool execution started")
242+
.build());
243+
exchange.loggingNotification(
244+
LoggingMessageNotification.builder(LoggingLevel.INFO, "Tool processing data").build());
245+
exchange.loggingNotification(
246+
LoggingMessageNotification.builder(LoggingLevel.INFO, "Tool execution completed")
247+
.build());
249248
return CallToolResult.builder()
250249
.content(List.of(new TextContent("Tool execution completed with logging")))
251250
.isError(false)

0 commit comments

Comments
 (0)