Skip to content

Commit 27a30ce

Browse files
committed
Added more public methods
1 parent 6c9246e commit 27a30ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,8 @@ public static Builder builder() {
354354
public record AsyncResourceSpecification(McpSchema.Resource resource,
355355
BiFunction<McpAsyncServerExchange, McpSchema.ReadResourceRequest, Mono<McpSchema.ReadResourceResult>> readHandler) {
356356

357-
public static AsyncResourceSpecification fromSync(SyncResourceSpecification resource, boolean immediateExecution) {
357+
public static AsyncResourceSpecification fromSync(SyncResourceSpecification resource,
358+
boolean immediateExecution) {
358359
// FIXME: This is temporary, proper validation should be implemented
359360
if (resource == null) {
360361
return null;

0 commit comments

Comments
 (0)