Merge pull request #15113 from dreis2211

* pr/15113:
  Add missing @Deprecated annotation
This commit is contained in:
Stephane Nicoll
2018-11-07 07:54:03 +01:00

View File

@@ -379,6 +379,7 @@ public class RestTemplateBuilder {
* @deprecated since 2.1.0 in favor of
* {@link #basicAuthentication(String username, String password)}
*/
@Deprecated
public RestTemplateBuilder basicAuthorization(String username, String password) {
return basicAuthentication(username, password);
}