Skip to content

Commit 9c92a2b

Browse files
Fix javadoc references and formatting (#149)
1 parent f70b98b commit 9c92a2b

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

mcp-test/src/main/java/io/modelcontextprotocol/server/AbstractMcpAsyncServerTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
/**
3232
* Test suite for the {@link McpAsyncServer} that can be used with different
33-
* {@link McpTransportProvider} implementations.
33+
* {@link io.modelcontextprotocol.spec.McpServerTransportProvider} implementations.
3434
*
3535
* @author Christian Tzolov
3636
*/

mcp-test/src/main/java/io/modelcontextprotocol/server/AbstractMcpSyncServerTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
/**
2929
* Test suite for the {@link McpSyncServer} that can be used with different
30-
* {@link McpTransportProvider} implementations.
30+
* {@link io.modelcontextprotocol.spec.McpServerTransportProvider} implementations.
3131
*
3232
* @author Christian Tzolov
3333
*/

mcp/src/main/java/io/modelcontextprotocol/client/McpAsyncClient.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -317,9 +317,9 @@ public Mono<Void> closeGracefully() {
317317
* The client MUST initiate this phase by sending an initialize request containing:
318318
* The protocol version the client supports, client's capabilities and clients
319319
* implementation information.
320-
* <p/>
320+
* <p>
321321
* The server MUST respond with its own capabilities and information.
322-
* <p/>
322+
* </p>
323323
* After successful initialization, the client MUST send an initialized notification
324324
* to indicate it is ready to begin normal operations.
325325
* @return the initialize result.

mcp/src/main/java/io/modelcontextprotocol/spec/McpServerSession.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ public class McpServerSession implements McpSession {
6464
* {@link io.modelcontextprotocol.spec.McpSchema.InitializeRequest} is received by the
6565
* server
6666
* @param initNotificationHandler called when a
67-
* {@link McpSchema.METHOD_NOTIFICATION_INITIALIZED} is received.
67+
* {@link io.modelcontextprotocol.spec.McpSchema#METHOD_NOTIFICATION_INITIALIZED} is
68+
* received.
6869
* @param requestHandlers map of request handlers to use
6970
* @param notificationHandlers map of notification handlers to use
7071
*/

0 commit comments

Comments
 (0)