Skip to content

Commit

Permalink
fix typo in variable name
Browse files Browse the repository at this point in the history
Co-Authored-By: Saladoc <[email protected]>
  • Loading branch information
Vampire and Saladoc committed Oct 30, 2018
1 parent 31bc97e commit f80f867
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class WikiParser {
private static final OkHttpClient client = new OkHttpClient();
private static final ObjectMapper mapper = new ObjectMapper();

private final DiscordApi discordAPi;
private final DiscordApi discordApi;
private final String apiUrl;
private final String baseUrl;

Expand All @@ -31,7 +31,7 @@ public WikiParser(DiscordApi api) {
}

public WikiParser(DiscordApi api, String apiUrl, String baseUrl) {
this.discordAPi = api;
this.discordApi = api;
this.apiUrl = apiUrl;
this.baseUrl = baseUrl.endsWith("/") ? baseUrl.substring(0, baseUrl.length()-1) : baseUrl;
}
Expand All @@ -43,7 +43,7 @@ public CompletableFuture<Set<WikiPage>> getPages() {
} catch (Throwable t) {
throw new CompletionException(t);
}
}, discordAPi.getThreadPool().getExecutorService());
}, discordApi.getThreadPool().getExecutorService());
}

private Set<WikiPage> getPagesBlocking() throws IOException {
Expand Down

0 comments on commit f80f867

Please sign in to comment.