Skip to content

Commit 78952e9

Browse files
committed
Make the Cookie's SameSite directive property string value final
See spring-projects#15047
1 parent 95275bd commit 78952e9

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/server

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/server/Session.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ public enum SameSite {
244244
*/
245245
NONE("None");
246246

247-
private String value;
247+
private final String value;
248248

249249
SameSite(final String value) {
250250
this.value = value;

0 commit comments

Comments
 (0)