Skip to content
Snippets Groups Projects
Commit cbb71c0f authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#749 - fixed error message

parent 7f1a3635
No related branches found
No related tags found
No related merge requests found
...@@ -186,7 +186,7 @@ public class HelpersService ...@@ -186,7 +186,7 @@ public class HelpersService
final Optional<Account> accountOptional = accountRepository.findById(accountID); final Optional<Account> accountOptional = accountRepository.findById(accountID);
if(accountOptional.isEmpty()) if(accountOptional.isEmpty())
{ {
throw new IllegalArgumentException(MessageFormat.format("No account with ID \"{0)\" found", accountID)); throw new IllegalArgumentException(MessageFormat.format("No account with ID \"{0}\" found", accountID));
} }
final Account account = accountOptional.get(); final Account account = accountOptional.get();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment