refactor: this can also be final

This commit is contained in:
Breno A.
2024-06-09 09:00:39 -03:00
Unverified
parent 9fa0f2bcad
commit 7d3abb083b
18 changed files with 168 additions and 167 deletions
@@ -20,7 +20,7 @@ public final class PluginManager {
* A 'breaking change' is something which changes the existing logic of the API.
*/
@SuppressWarnings("FieldCanBeLocal")
public static int API_VERSION = 2;
public static final int API_VERSION = 2;
/* All loaded plugins. */
private final Map<String, Plugin> plugins = new LinkedHashMap<>();