Fix duplicate meta-data for server.session-timeout

Closes gh-3537
This commit is contained in:
Stephane Nicoll
2015-07-17 14:02:38 +02:00
parent 61447a5f8b
commit db41e0d7d5
2 changed files with 1 additions and 10 deletions

View File

@@ -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

View File

@@ -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"
}