Skip to content

Commit 8474335

Browse files
committed
Upgrade samples to Spring Boot 2.3.1.RELEASE
Closes gh-1650
1 parent 55a6967 commit 8474335

File tree

6 files changed

+4
-3
lines changed

6 files changed

+4
-3
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ buildscript {
44
snapshotBuild = version.endsWith('SNAPSHOT')
55
milestoneBuild = !(releaseBuild || snapshotBuild)
66

7-
springBootVersion = '2.2.7.RELEASE'
7+
springBootVersion = '2.3.1.RELEASE'
88
}
99

1010
repositories {

spring-session-samples/spring-session-sample-boot-webflux-custom-cookie/src/main/java/sample/SessionController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public String setAttribute(@ModelAttribute SessionAttributeForm sessionAttribute
3636
@GetMapping("/")
3737
public String index(Model model, WebSession webSession) {
3838
model.addAttribute("webSession", webSession);
39-
return "index";
39+
return "home";
4040
}
4141

4242
}

spring-session-samples/spring-session-sample-boot-webflux/src/main/java/sample/SessionController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public String setAttribute(@ModelAttribute SessionAttributeForm sessionAttribute
3636
@GetMapping("/")
3737
public String index(Model model, WebSession webSession) {
3838
model.addAttribute("webSession", webSession);
39-
return "index";
39+
return "home";
4040
}
4141

4242
private static final long serialVersionUID = 2878267318695777395L;

spring-session-samples/spring-session-sample-boot-websocket/spring-session-sample-boot-websocket.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ dependencies {
88
compile "org.springframework.boot:spring-boot-starter-data-jpa"
99
compile "org.springframework.boot:spring-boot-starter-data-redis"
1010
compile "org.springframework.boot:spring-boot-starter-websocket"
11+
compile "org.springframework.boot:spring-boot-starter-validation"
1112
compile "org.springframework.boot:spring-boot-devtools"
1213
compile "org.springframework:spring-websocket"
1314
compile "org.springframework.security:spring-security-messaging"

0 commit comments

Comments
 (0)