forked from Steven/DeepJ
I'm Bored so I made a Builder #4
This commit is contained in:
parent
af64960abf
commit
c135da4115
@ -28,7 +28,7 @@ public class Translator {
|
|||||||
request = new Request(globalAPIKey);
|
request = new Request(globalAPIKey);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public Translator(bool silent) {
|
public Translator(boolean silent) {
|
||||||
//GAK (SILENCABLE)
|
//GAK (SILENCABLE)
|
||||||
if (globalAPIKey == null && !silent) {
|
if (globalAPIKey == null && !silent) {
|
||||||
System.out.println("\n[DeepJ] You are currently using the Global API Key Translator Constructor." +"\n[DeepJ] If you are trying to use global API keys, Call the method \"Translator.setGlobalAuthKey(String key)\" and then re-use this contructor." + "\n[DeepJ] If you want to define an different authkey every time do: \"new Translator(String authKey)\"\n");
|
System.out.println("\n[DeepJ] You are currently using the Global API Key Translator Constructor." +"\n[DeepJ] If you are trying to use global API keys, Call the method \"Translator.setGlobalAuthKey(String key)\" and then re-use this contructor." + "\n[DeepJ] If you want to define an different authkey every time do: \"new Translator(String authKey)\"\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user