Skip to content
This repository has been archived by the owner on Jul 16, 2022. It is now read-only.

Commit

Permalink
Oxford: fix to pass proper appId and appKey
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
  • Loading branch information
miurahr committed Mar 17, 2022
1 parent 4a9227c commit d0a572f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private List<DictionaryEntry> queryArticle(final String word, final boolean stri
if (StringUtils.isEmpty(appId) || StringUtils.isEmpty(appKey)) {
return Collections.emptyList();
}
OxfordClient client = new OxfordClient("id", "key");
OxfordClient client = new OxfordClient(appId, appKey);
if (!cache.containsKey(word)) {
List<DictionaryEntry> dictionaryEntries = new ArrayList<>();
try {
Expand Down

0 comments on commit d0a572f

Please sign in to comment.