we should not be ignoring case whilst updating account, reverting to .equals instead of .equalsIgnoreCase

This commit is contained in:
abhishek 2010-11-02 13:43:03 -07:00
parent 8c8a7c7762
commit 16438f3470
1 changed files with 1 additions and 1 deletions

View File

@ -1151,7 +1151,7 @@ public class ManagementServerImpl implements ManagementServer {
throw new PermissionDeniedException("There already exists an account with the name:"+newAccountName+" in the domain:"+domainId+" with existing account id:"+duplicateAcccount.getId());
}
if (account.getAccountName().equalsIgnoreCase(newAccountName)) {
if (account.getAccountName().equals(newAccountName)) {
success = true;
} else {
AccountVO acctForUpdate = _accountDao.createForUpdate();