Improves some argument names
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good

This commit is contained in:
2025-09-16 16:58:30 +02:00
parent abe5465d2b
commit e2520553fa
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}

View File

@@ -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.");
}
}