Skip to content

Commit d62a5ac

Browse files
committed
Merge branch '3.2.x' into 3.3.x
Closes gh-41949
2 parents 1d337b7 + 1a2d1c5 commit d62a5ac

File tree

3 files changed

+12
-15
lines changed

3 files changed

+12
-15
lines changed

spring-boot-project/spring-boot-docs/src/main/java/org/springframework/boot/docs/web/servlet/springmvc/MyUserHandler.java

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -24,18 +24,15 @@
2424
public class MyUserHandler {
2525

2626
public ServerResponse getUser(ServerRequest request) {
27-
/**/
28-
return ServerResponse.ok().build();
27+
/**/ return ServerResponse.ok().build();
2928
}
3029

3130
public ServerResponse getUserCustomers(ServerRequest request) {
32-
/**/
33-
return ServerResponse.ok().build();
31+
/**/ return ServerResponse.ok().build();
3432
}
3533

3634
public ServerResponse deleteUser(ServerRequest request) {
37-
/**/
38-
return ServerResponse.ok().build();
35+
/**/ return ServerResponse.ok().build();
3936
}
4037

4138
}

spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/reactive/webflux/MyUserHandler.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -26,15 +26,15 @@ import reactor.core.publisher.Mono
2626
class MyUserHandler {
2727

2828
fun getUser(request: ServerRequest?): Mono<ServerResponse> {
29-
return ServerResponse.ok().build()
29+
/**/ return ServerResponse.ok().build()
3030
}
3131

3232
fun getUserCustomers(request: ServerRequest?): Mono<ServerResponse> {
33-
return ServerResponse.ok().build()
33+
/**/ return ServerResponse.ok().build()
3434
}
3535

3636
fun deleteUser(request: ServerRequest?): Mono<ServerResponse> {
37-
return ServerResponse.ok().build()
37+
/**/ return ServerResponse.ok().build()
3838
}
3939

4040
}

spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/servlet/springmvc/MyUserHandler.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -25,15 +25,15 @@ import org.springframework.web.servlet.function.ServerResponse
2525
class MyUserHandler {
2626

2727
fun getUser(request: ServerRequest?): ServerResponse {
28-
return ServerResponse.ok().build()
28+
/**/ return ServerResponse.ok().build()
2929
}
3030

3131
fun getUserCustomers(request: ServerRequest?): ServerResponse {
32-
return ServerResponse.ok().build()
32+
/**/ return ServerResponse.ok().build()
3333
}
3434

3535
fun deleteUser(request: ServerRequest?): ServerResponse {
36-
return ServerResponse.ok().build()
36+
/**/ return ServerResponse.ok().build()
3737
}
3838

3939
}

0 commit comments

Comments
 (0)