Prevents instantiation of the Translator class
This commit is contained in:
parent
ff362f8d1d
commit
0451734731
4
pom.xml
4
pom.xml
@ -33,8 +33,8 @@
|
|||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.8.1</version>
|
<version>3.8.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>${java.version}</source>
|
<source>17</source>
|
||||||
<target>${java.version}</target>
|
<target>17</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
@ -21,6 +21,10 @@ public final class Translator {
|
|||||||
private static Map<TranslatableMessage, String> translatedMessages;
|
private static Map<TranslatableMessage, String> translatedMessages;
|
||||||
private static Map<TranslatableMessage, String> backupTranslatedMessages;
|
private static Map<TranslatableMessage, String> backupTranslatedMessages;
|
||||||
|
|
||||||
|
private Translator() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Loads the languages used by this translator
|
* Loads the languages used by this translator
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user