Skip to content

Commit 9cb60eb

Browse files
committed
fix: Constructor assignment error
1 parent f314b01 commit 9cb60eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public class McpAsyncClient {
180180
this.clientCapabilities = features.clientCapabilities();
181181
this.transport = transport;
182182
this.roots = new ConcurrentHashMap<>(features.roots());
183-
this.toolAnnotationsHandler = toolAnnotationsHandler != null ? this.toolAnnotationsHandler : tool -> null;
183+
this.toolAnnotationsHandler = toolAnnotationsHandler != null ? toolAnnotationsHandler : tool -> null;
184184
// Request Handlers
185185
Map<String, RequestHandler<?>> requestHandlers = new HashMap<>();
186186

0 commit comments

Comments
 (0)