From 2b8cd92f0e419eef062f0dd64e7be37d33256b79 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Thu, 30 May 2019 12:22:10 +0900 Subject: [PATCH] PutHttpPassword: Replace comment with @UsedAt annotation Annotate the apply() method which is used by the serviceuser plugin. Note that the comment incorrectly states that it's used by the admin-console plugin. Change-Id: I55304efa41665c534c484fa1aede362b8b51674d --- .../google/gerrit/server/restapi/account/PutHttpPassword.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/java/com/google/gerrit/server/restapi/account/PutHttpPassword.java b/java/com/google/gerrit/server/restapi/account/PutHttpPassword.java index 5f883878d6..02f59ac672 100644 --- a/java/com/google/gerrit/server/restapi/account/PutHttpPassword.java +++ b/java/com/google/gerrit/server/restapi/account/PutHttpPassword.java @@ -107,8 +107,7 @@ public class PutHttpPassword implements RestModifyView apply(IdentifiedUser user, String newPassword) throws ResourceNotFoundException, ResourceConflictException, OrmException, IOException, ConfigInvalidException {