Fix compilation issue introduced by the previous commit

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
This commit is contained in:
Christian Tzolov 2025-04-09 16:17:16 +02:00
commit fbea833384

View file

@ -388,8 +388,8 @@ public class WebMvcSseIntegrationTests {
new McpSchema.Tool("tool1", "tool1 description", emptyJsonSchema), (exchange, request) -> {
// perform a blocking call to a remote service
String response = RestClient.create()
.get()https://raw.githubusercontent.com/modelcontextprotocol/java-sdk/refs/heads/main/README.md
.uri("https://github.com/modelcontextprotocol/specification/blob/main/README.md")
.get()
.uri("https://raw.githubusercontent.com/modelcontextprotocol/java-sdk/refs/heads/main/README.md")
.retrieve()
.body(String.class);
assertThat(response).isNotBlank();
@ -424,9 +424,9 @@ public class WebMvcSseIntegrationTests {
McpServerFeatures.SyncToolSpecification tool1 = new McpServerFeatures.SyncToolSpecification(
new McpSchema.Tool("tool1", "tool1 description", emptyJsonSchema), (exchange, request) -> {
// perform a blocking call to a remote service
String https://raw.githubusercontent.com/modelcontextprotocol/java-sdk/refs/heads/main/README.md
String response = RestClient.create()
.get()
.uri("https://github.com/modelcontextprotocol/specification/blob/main/README.md")
.uri("https://raw.githubusercontent.com/modelcontextprotocol/java-sdk/refs/heads/main/README.md")
.retrieve()
.body(String.class);
assertThat(response).isNotBlank();
@ -441,9 +441,9 @@ public class WebMvcSseIntegrationTests {
AtomicReference<List<Tool>> rootsRef = new AtomicReference<>();
var mcpClient = clientBuilder.toolsChangeConsumer(toolsUpdate -> {
// perform a blocking call to a remote service
String https://raw.githubusercontent.com/modelcontextprotocol/java-sdk/refs/heads/main/README.md
String response = RestClient.create()
.get()
.uri("https://github.com/modelcontextprotocol/specification/blob/main/README.md")
.uri("https://raw.githubusercontent.com/modelcontextprotocol/java-sdk/refs/heads/main/README.md")
.retrieve()
.body(String.class);
assertThat(response).isNotBlank();