Skip to content

Commit f67abae

Browse files
committed
Format the code style
Signed-off-by: JermaineHua <crazyhzm@apache.org>
1 parent b00baaa commit f67abae

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mcp/src/main/java/io/modelcontextprotocol/server/McpAsyncServer.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,8 @@ public class McpAsyncServer {
183183
notificationHandlers.put(McpSchema.METHOD_NOTIFICATION_ROOTS_LIST_CHANGED,
184184
asyncRootsListChangedNotificationHandler(rootsChangeConsumers));
185185

186-
mcpTransportProvider.setSessionFactory(
187-
(id, transport) -> new McpServerSession(id, requestTimeout, transport,
188-
this::asyncInitializeRequestHandler, Mono::empty, requestHandlers, notificationHandlers));
186+
mcpTransportProvider.setSessionFactory((id, transport) -> new McpServerSession(id, requestTimeout, transport,
187+
this::asyncInitializeRequestHandler, Mono::empty, requestHandlers, notificationHandlers));
189188
}
190189

191190
// ---------------------------------------

0 commit comments

Comments
 (0)