Skip to content

Conversation

hbsjz-swl
Copy link

@hbsjz-swl hbsjz-swl commented Oct 10, 2025

This PR removes a broken @see Javadoc link from the resourceTemplates(List) method in the McpServer.java class. The link pointed to a non-existent function overload, which causes IDE warnings and can be confusing for developers.

Motivation and Context

The primary motivation is to improve code quality and developer experience by cleaning up the documentation within the McpServer class. Removing the incorrect reference resolves IDE warnings and ensures the Javadoc is accurate and reliable.

How Has This Been Tested?

This is a documentation-only change and does not affect runtime behavior.

  • I have confirmed in my IDE that the warning for the broken link in McpServer.java disappears after this change.
  • The project builds successfully locally without any new warnings or errors.

No new automated tests are required for this type of change.

Breaking Changes

None. This is purely a documentation fix.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling (N/A for this change)
  • I have added or updated documentation as needed

@hbsjz-swl hbsjz-swl changed the title fix(docs): Remove broken @see link in resourceTemplates Javadoc fix(docs): Remove broken @see link in McpServer.java Javadoc Oct 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant