Skip to content

Commit

Permalink
fix for MID-6195
Browse files Browse the repository at this point in the history
  • Loading branch information
katkav committed Apr 7, 2020
1 parent 652a6d3 commit c4819ce
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -102,7 +102,7 @@ protected void createBreadcrumb() {
private MyPasswordsDto loadPageModel() {
LOGGER.debug("Loading user and accounts.");

MyPasswordsDto dto;
MyPasswordsDto dto = new MyPasswordsDto();
OperationResult result = new OperationResult(OPERATION_LOAD_USER_WITH_ACCOUNTS);
try {
String focusOid = SecurityUtils.getPrincipalUser().getOid();
Expand Down Expand Up @@ -130,7 +130,6 @@ private MyPasswordsDto loadPageModel() {
result.recordFatalError(getString("PageAbstractSelfCredentials.message.couldntLoadAccounts.fatalError"), ex);
} finally {
result.recomputeStatus();
dto = new MyPasswordsDto();
}

Collections.sort(dto.getAccounts());
Expand Down

0 comments on commit c4819ce

Please sign in to comment.