I'm Bored so I made a Builder #5

This commit is contained in:
5gi 2023-03-23 10:19:24 -04:00
parent c135da4115
commit 3af5d6da63

View File

@ -58,6 +58,9 @@ public class Translator {
//NORMAL REQUEST (NO GAK) (STATIC) //NORMAL REQUEST (NO GAK) (STATIC)
return new Translator(apiKey); return new Translator(apiKey);
} }
public static TranslatorBuilder newBuilder() {
return new TranslatorBuilder();
}
public static Translator newTranslator() { public static Translator newTranslator() {
//GAK (STATIC) //GAK (STATIC)
if (globalAPIKey == null) { if (globalAPIKey == null) {