Skip to content

Commit 083b490

Browse files
committed
Remove outdated Session's Cookie override
Closes gh-45523
1 parent c25e330 commit 083b490

File tree

1 file changed

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

1 file changed

+1
-9
lines changed

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

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
import org.springframework.boot.context.properties.ConfigurationPropertiesSource;
2525
import org.springframework.boot.context.properties.NestedConfigurationProperty;
2626
import org.springframework.boot.convert.DurationUnit;
27+
import org.springframework.boot.web.server.Cookie;
2728

2829
/**
2930
* Session properties.
@@ -113,15 +114,6 @@ SessionStoreDirectory getSessionStoreDirectory() {
113114
return this.sessionStoreDirectory;
114115
}
115116

116-
/**
117-
* Session cookie properties. This class is provided only for back-compatibility
118-
* reasons, consider using {@link org.springframework.boot.web.server.Cookie} whenever
119-
* possible.
120-
*/
121-
public static class Cookie extends org.springframework.boot.web.server.Cookie {
122-
123-
}
124-
125117
/**
126118
* Available session tracking modes (mirrors
127119
* {@link jakarta.servlet.SessionTrackingMode}).

0 commit comments

Comments
 (0)