Improves some argument names
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
This commit is contained in:
@@ -116,7 +116,7 @@ public final class Translator {
|
||||
try {
|
||||
BufferedReader reader = FileHelper.getBufferedReaderForInternalFile("/strings.yml");
|
||||
return loadTranslatableMessages(language, reader);
|
||||
} catch (FileNotFoundException e) {
|
||||
} catch (FileNotFoundException exception) {
|
||||
Bukkit.getLogger().log(Level.SEVERE, "Unable to load translated messages");
|
||||
return null;
|
||||
}
|
||||
|
@@ -69,7 +69,7 @@ public final class UpdateChecker {
|
||||
setVersionMethod.accept(newVersion);
|
||||
}
|
||||
}
|
||||
} catch (IOException e) {
|
||||
} catch (IOException exception) {
|
||||
plugin.getLogger().log(Level.WARNING, "Unable to get the newest plugin version.");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user