-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add user display formatting to AccountInfo
Since FormatUtil is in a client package it is not available to be used server side, but it does allow a user to be easily displayed by their fullname and to fallback to their email. It would be convenient for the server to be able to format users this way when it needs to return an error message mentioning the user. By adding the getName() and getNameEmail() methods to AccountInfo, it can easily be accessed by classes in both the client and server packages. This change does not introduce any callers to these methods yet, it simply makes them available. Change-Id: Ia44009e118988c6c87a43c572d9d410f00b032b4
- Loading branch information
Showing
2 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters