Rename getCurrentUser to getUser
It is never ambiguous to say "User" instead of "CurrentUser". Save some typing. Change-Id: I03a051f1fd3758ba63749cded20a7c135b6cf58a
This commit is contained in:
@@ -57,6 +57,6 @@ public class DraftCommentResource implements RestResource {
|
||||
}
|
||||
|
||||
Account.Id getAuthorId() {
|
||||
return ((IdentifiedUser) getControl().getCurrentUser()).getAccountId();
|
||||
return ((IdentifiedUser) getControl().getUser()).getAccountId();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user