Skip to content

Commit 9e7736b

Browse files
KacperCicheckieleftherias
authored andcommitted
Complete Javadoc description of setCookieMaxAge
Issue: gh-1627
1 parent 6c5e335 commit 9e7736b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-session-core/src/main/java/org/springframework/session/web/http/DefaultCookieSerializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ public void setCookieName(String cookieName) {
308308
/**
309309
* Sets the maxAge property of the Cookie. The default is to delete the cookie when
310310
* the browser is closed.
311-
* @param cookieMaxAge the maxAge property of the Cookie
311+
* @param cookieMaxAge the maxAge property of the Cookie (defined in seconds)
312312
*/
313313
public void setCookieMaxAge(int cookieMaxAge) {
314314
this.cookieMaxAge = cookieMaxAge;

0 commit comments

Comments
 (0)