Skip to content

Commit

Permalink
[fix] Fix CurrencyService.getAllIds() java.lang.StackOverflowError
Browse files Browse the repository at this point in the history
  • Loading branch information
blavenie committed Jul 31, 2023
1 parent cd8fa34 commit 51ed872
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,7 @@ public void save(Currency currency) throws DuplicateIndexIdException {
}

public Set<String> getAllIds() {
return Sets.newHashSet(injector.getInstance(CurrencyService.class)
.getAllIds());
return Sets.newHashSet(currencyRepository.findAllIds());
}

/* -- Internal methods -- */
Expand Down

0 comments on commit 51ed872

Please sign in to comment.