Fix duplicate meta-data for server.session-timeout
Closes gh-3537
This commit is contained in:
@@ -197,16 +197,6 @@ public class ServerProperties implements EmbeddedServletContainerCustomizer, Ord
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the session timeout
|
||||
* @return the session timeout
|
||||
* @deprecated since 1.3.0 in favor of {@code session.timeout}.
|
||||
*/
|
||||
@Deprecated
|
||||
public Integer getSessionTimeout() {
|
||||
return this.session.getTimeout();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the session timeout
|
||||
* @param sessionTimeout the session timeout
|
||||
|
||||
@@ -166,6 +166,7 @@
|
||||
"name": "server.session-timeout",
|
||||
"type": "java.lang.Integer",
|
||||
"description": "Session timeout in seconds.",
|
||||
"sourceType": "org.springframework.boot.autoconfigure.web.ServerProperties",
|
||||
"deprecation": {
|
||||
"replacement": "server.session.timeout"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user