Commit db41e0d7 authored by Stephane Nicoll's avatar Stephane Nicoll

Fix duplicate meta-data for server.session-timeout

Closes gh-3537
parent 61447a5f
......@@ -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"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment