gerrit/gerrit-httpd
David Pursehouse fb4c874509 Simplify error handling in account username setting
Move the check for valid account pattern down into AccountSecurityImpl
and raise InvalidUserNameException from there.

Remove the invalidUserName utility method which is no longer needed
as we now only need to generate the error dialog at one place.

Check for the exception being an instance of InvalidUserNameException
rather than doing a string comparison of the message.

Change-Id: Ia4a9df88318f8459e8dc4e63368d896791dd9a18
2014-09-11 13:02:29 +00:00
..
src Simplify error handling in account username setting 2014-09-11 13:02:29 +00:00
BUCK Move powermock and easymock library definitions to separate BUCK files 2014-06-30 15:35:13 +00:00