Skip to content

Commit 3270385

Browse files
committed
docs: Fix broken references in Javadoc
Signed-off-by: YunKui Lu <luyunkui95@gmail.com>
1 parent 1cbace3 commit 3270385

5 files changed

Lines changed: 6 additions & 7 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public interface McpServerTransportProvider {
4444
* @param method the name of the notification method to be called on the clients
4545
* @param params parameters to be sent with the notification
4646
* @return a Mono that completes when the notification has been broadcast
47-
* @see McpSession#sendNotification(String, Map)
47+
* @see McpSession#sendNotification(String, Object)
4848
*/
4949
Mono<Void> notifyClients(String method, Object params);
5050

mcp/src/main/java/io/modelcontextprotocol/util/DefaultMcpUriTemplateManager.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ public class DefaultMcpUriTemplateManager implements McpUriTemplateManager {
3030

3131
/**
3232
* Constructor for DefaultMcpUriTemplateManager.
33-
* @param uriTemplate The URI template to be used for variable extraction
33+
* @param uriTemplate The URI template to be used for variable extraction should be in
34+
* the format {variableName}
3435
*/
3536
public DefaultMcpUriTemplateManager(String uriTemplate) {
3637
if (uriTemplate == null || uriTemplate.isEmpty()) {
@@ -41,8 +42,6 @@ public DefaultMcpUriTemplateManager(String uriTemplate) {
4142

4243
/**
4344
* Extract URI variable names from a URI template.
44-
* @param uriTemplate The URI template containing variables in the format
45-
* {variableName}
4645
* @return A list of variable names extracted from the template
4746
* @throws IllegalArgumentException if duplicate variable names are found
4847
*/

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

Lines changed: 1 addition & 1 deletion
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 McpServerTransportProvider} implementations.
3434
*
3535
* @author Christian Tzolov
3636
*/

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

Lines changed: 1 addition & 1 deletion
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 McpServerTransportProvider} implementations.
3131
*
3232
* @author Christian Tzolov
3333
*/

mcp/src/test/java/io/modelcontextprotocol/server/StdioMcpAsyncServerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import org.junit.jupiter.api.Timeout;
1010

1111
/**
12-
* Tests for {@link McpAsyncServer} using {@link StdioServerTransport}.
12+
* Tests for {@link McpAsyncServer} using {@link StdioServerTransportProvider}.
1313
*
1414
* @author Christian Tzolov
1515
*/

0 commit comments

Comments
 (0)