diff --git a/spring-boot-project/spring-boot-docs/src/main/java/org/springframework/boot/docs/web/servlet/springmvc/MyUserHandler.java b/spring-boot-project/spring-boot-docs/src/main/java/org/springframework/boot/docs/web/servlet/springmvc/MyUserHandler.java index 404ef7a3608..15f04bcfd3a 100644 --- a/spring-boot-project/spring-boot-docs/src/main/java/org/springframework/boot/docs/web/servlet/springmvc/MyUserHandler.java +++ b/spring-boot-project/spring-boot-docs/src/main/java/org/springframework/boot/docs/web/servlet/springmvc/MyUserHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2022 the original author or authors. + * Copyright 2012-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,18 +24,15 @@ import org.springframework.web.servlet.function.ServerResponse; public class MyUserHandler { public ServerResponse getUser(ServerRequest request) { - /**/ - return ServerResponse.ok().build(); + /**/ return ServerResponse.ok().build(); } public ServerResponse getUserCustomers(ServerRequest request) { - /**/ - return ServerResponse.ok().build(); + /**/ return ServerResponse.ok().build(); } public ServerResponse deleteUser(ServerRequest request) { - /**/ - return ServerResponse.ok().build(); + /**/ return ServerResponse.ok().build(); } } diff --git a/spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/reactive/webflux/MyUserHandler.kt b/spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/reactive/webflux/MyUserHandler.kt index 1a768d9ef3c..9131d9b01cb 100644 --- a/spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/reactive/webflux/MyUserHandler.kt +++ b/spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/reactive/webflux/MyUserHandler.kt @@ -1,5 +1,5 @@ /* - * Copyright 2012-2022 the original author or authors. + * Copyright 2012-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,15 +26,15 @@ import reactor.core.publisher.Mono class MyUserHandler { fun getUser(request: ServerRequest?): Mono { - return ServerResponse.ok().build() + /**/ return ServerResponse.ok().build() } fun getUserCustomers(request: ServerRequest?): Mono { - return ServerResponse.ok().build() + /**/ return ServerResponse.ok().build() } fun deleteUser(request: ServerRequest?): Mono { - return ServerResponse.ok().build() + /**/ return ServerResponse.ok().build() } } diff --git a/spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/servlet/springmvc/MyUserHandler.kt b/spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/servlet/springmvc/MyUserHandler.kt index 9695030c97a..20ce4f5a3a4 100644 --- a/spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/servlet/springmvc/MyUserHandler.kt +++ b/spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/servlet/springmvc/MyUserHandler.kt @@ -1,5 +1,5 @@ /* - * Copyright 2012-2022 the original author or authors. + * Copyright 2012-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,15 +25,15 @@ import org.springframework.web.servlet.function.ServerResponse class MyUserHandler { fun getUser(request: ServerRequest?): ServerResponse { - return ServerResponse.ok().build() + /**/ return ServerResponse.ok().build() } fun getUserCustomers(request: ServerRequest?): ServerResponse { - return ServerResponse.ok().build() + /**/ return ServerResponse.ok().build() } fun deleteUser(request: ServerRequest?): ServerResponse { - return ServerResponse.ok().build() + /**/ return ServerResponse.ok().build() } }