From 6ac788df2f28943eb1490ee7d9b3a9815eea3d1f Mon Sep 17 00:00:00 2001 From: dreis2211 Date: Tue, 6 Nov 2018 17:05:00 +0100 Subject: [PATCH] Add missing @Deprecated annotation Closes gh-15113 --- .../org/springframework/boot/web/client/RestTemplateBuilder.java | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/RestTemplateBuilder.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/RestTemplateBuilder.java index 8ceb9d680b00..0972c7a6a659 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/RestTemplateBuilder.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/RestTemplateBuilder.java @@ -379,6 +379,7 @@ public RestTemplateBuilder errorHandler(ResponseErrorHandler errorHandler) { * @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); }