Spring cleaning: add missing @⁠Override annotations

This commit is contained in:
Sam Brannen
2024-02-23 11:55:06 +01:00
parent d0ffc16efc
commit c98bebd6d3
8 changed files with 10 additions and 0 deletions

View File

@@ -127,10 +127,12 @@ class RSocketServiceIntegrationTests {
@Controller
static class ServerController implements Service {
@Override
public Mono<String> echoAsync(String payload) {
return Mono.delay(Duration.ofMillis(10)).map(aLong -> payload + " async");
}
@Override
public Flux<String> echoStream(String payload) {
return Flux.interval(Duration.ofMillis(10)).map(aLong -> payload + " " + aLong);
}

View File

@@ -546,6 +546,7 @@ public class SimpAnnotationMethodMessageHandlerTests {
Map<String, Object> arguments = new LinkedHashMap<>();
@Override
@MessageMapping("/binding/id/{id}")
public void simpleBinding(Long id) {
this.method = "simpleBinding";