Skip to content

Commit a670754

Browse files
author
Scott Lewis
committed
More public methods
1 parent b0ee4ab commit a670754

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mcp-core/src/main/java/io/modelcontextprotocol/server/McpStatelessServerFeatures.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,8 @@ public static Builder builder() {
291291
public record AsyncResourceSpecification(McpSchema.Resource resource,
292292
BiFunction<McpTransportContext, McpSchema.ReadResourceRequest, Mono<McpSchema.ReadResourceResult>> readHandler) {
293293

294-
public static AsyncResourceSpecification fromSync(SyncResourceSpecification resource, boolean immediateExecution) {
294+
public static AsyncResourceSpecification fromSync(SyncResourceSpecification resource,
295+
boolean immediateExecution) {
295296
// FIXME: This is temporary, proper validation should be implemented
296297
if (resource == null) {
297298
return null;

0 commit comments

Comments
 (0)