Prevents instantiation of the Translator class

This commit is contained in:
Kristian Knarvik 2022-03-02 13:14:06 +01:00
parent ff362f8d1d
commit 0451734731
2 changed files with 6 additions and 2 deletions

View File

@ -33,8 +33,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<source>17</source>
<target>17</target>
</configuration>
</plugin>
</plugins>

View File

@ -21,6 +21,10 @@ public final class Translator {
private static Map<TranslatableMessage, String> translatedMessages;
private static Map<TranslatableMessage, String> backupTranslatedMessages;
private Translator() {
}
/**
* Loads the languages used by this translator
*/