mirror of
https://github.com/slhaf/Partner.git
synced 2026-05-12 08:43:02 +08:00
refactor(core): remove redundant @NotNull type-use annotation from async resource spec builder
This commit is contained in:
@@ -895,7 +895,7 @@ public class LocalRunnerClient extends RunnerClient {
|
|||||||
this.mcpDescServer = mcpDescServer;
|
this.mcpDescServer = mcpDescServer;
|
||||||
}
|
}
|
||||||
|
|
||||||
private McpStatelessServerFeatures.@NotNull AsyncResourceSpecification buildAsyncResourceSpecification(String name, String uri) {
|
private McpStatelessServerFeatures.AsyncResourceSpecification buildAsyncResourceSpecification(String name, String uri) {
|
||||||
McpSchema.Resource resource = McpSchema.Resource.builder()
|
McpSchema.Resource resource = McpSchema.Resource.builder()
|
||||||
.name(name)
|
.name(name)
|
||||||
.title(name)
|
.title(name)
|
||||||
|
|||||||
Reference in New Issue
Block a user