mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-01 00:10:40 +01:00
Renamed a variable in WebManager to make it less confusing
This commit is contained in:
parent
4209afaf20
commit
b9915dba98
@ -113,18 +113,18 @@ public class WebManager {
|
||||
}
|
||||
|
||||
for (String repository : repositories) {
|
||||
GitHubRepository addonRepo;
|
||||
GitHubRepository repo;
|
||||
try {
|
||||
addonRepo = new GitHubRepository(gh, repository);
|
||||
repo = new GitHubRepository(gh, repository);
|
||||
} catch (Exception e) {
|
||||
if (plugin.getSettings().isLogGithubDownloadData()) {
|
||||
plugin.logError("An unhandled exception occurred when gathering contributors data from the '" + repository + "' repository...");
|
||||
plugin.logStacktrace(e);
|
||||
}
|
||||
addonRepo = null;
|
||||
repo = null;
|
||||
}
|
||||
if (addonRepo != null) {
|
||||
gatherContributors(addonRepo);
|
||||
if (repo != null) {
|
||||
gatherContributors(repo);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user