From b72a41185947edc283a2c3622045cec27bca774b Mon Sep 17 00:00:00 2001 From: 5gi <5gi@gitea.noreply@nevets.tech> Date: Wed, 16 Nov 2022 11:09:15 -0500 Subject: [PATCH] removed stupid comments --- .../java/com/the5gi/DeepJ/Translator.java | 20 +------------------ 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/src/main/java/com/the5gi/DeepJ/Translator.java b/src/main/java/com/the5gi/DeepJ/Translator.java index ef4a2ea..7ec96dc 100644 --- a/src/main/java/com/the5gi/DeepJ/Translator.java +++ b/src/main/java/com/the5gi/DeepJ/Translator.java @@ -17,12 +17,7 @@ public class Translator { } protected Request request; public Translator() { - if (globalAuthKey == null) { -/* -[DeepJ] You are currently using the Global Auth Key Translator Constructor. -[DeepJ] If you are trying to use global auth keys, Call the method "Translator.setGlobalAuthKey(String key)" and then re-use this contructor. -[DeepJ] If you want to define a different authkey every time do: "new Translator(String authKey)" -*/ + if (globalAuthKey == null) {t to define a different authkey every time do: "new Translator(String authKey)" System.out.println("\n[DeepJ] You are currently using the Global Auth Key Translator Constructor." + "\n[DeepJ] If you are trying to use global auth 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"); @@ -32,10 +27,6 @@ public class Translator { } public Translator(String authKey) { if (!Objects.equals(globalAuthKey, "null")) { -/* -[DeepJ] Looks like you have defined a global auth key already! You can use if by just typing "new Traslator()" -instead of "new Translator(String authKey)". NOTE: This will work but just some advice :) -*/ System.out.println("[DeepJ] Looks like you have defined a global auth key already! You can use if by just typing \"new Traslator()\"" + "\n instead of \"new Translator(String authKey)\". NOTE: This will work but just some advice :)"); } @@ -43,10 +34,6 @@ instead of "new Translator(String authKey)". NOTE: This will work but just some } public Translator(String authKey, boolean silence) { if (!Objects.equals(globalAuthKey, "null") && !silence) { -/* -[DeepJ] Looks like you have defined a global auth key already! You can use if by just typing "new Traslator()" -instead of "new Translator(String authKey)". NOTE: This will work but just some advice :) -*/ System.out.println("[DeepJ] Looks like you have defined a global auth key already! You can use if by just typing \"new Traslator()\"" + "\n instead of \"new Translator(String authKey)\". NOTE: This will work but this is just some advice :)"); } @@ -66,11 +53,6 @@ instead of "new Translator(String authKey)". NOTE: This will work but just some } public static Translator of() { if (globalAuthKey == null) { -/* -[DeepJ] You are currently using the Global Auth Key Translator Constructor. -[DeepJ] If you are trying to use global auth keys, Call the method "Translator.setGlobalAuthKey(String key)" and then re-use this contructor. -[DeepJ] If you want to define a different authkey every time do: "new Translator(String authKey)" -*/ System.out.println("\n[DeepJ] You are currently using the Global Auth Key \".of()\" Translator." + "\n[DeepJ] If you are trying to use global auth keys, Call the method \"Translator.setGlobalAuthKey(String key)\" and then re-use this method." + "\n[DeepJ] If you want to define an different authkey every time do: \"Translator.of(String authKey)\"\n");