File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
mcp-core/src/main/java/io/modelcontextprotocol/json Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,8 @@ public class McpJsonDefaults {
3939 protected static McpServiceLoader <JsonSchemaValidatorSupplier , JsonSchemaValidator > mcpValidatorServiceLoader ;
4040
4141 public McpJsonDefaults () {
42- mcpMapperServiceLoader = new McpServiceLoader <McpJsonMapperSupplier , McpJsonMapper >(
43- McpJsonMapperSupplier .class );
44- mcpValidatorServiceLoader = new McpServiceLoader <JsonSchemaValidatorSupplier , JsonSchemaValidator >(
45- JsonSchemaValidatorSupplier .class );
42+ mcpMapperServiceLoader = new McpServiceLoader <>(McpJsonMapperSupplier .class );
43+ mcpValidatorServiceLoader = new McpServiceLoader <>(JsonSchemaValidatorSupplier .class );
4644 }
4745
4846 void setMcpJsonMapperSupplier (McpJsonMapperSupplier supplier ) {
You can’t perform that action at this time.
0 commit comments