forked from Steven/DeepJ
		
	removed stupid comments
This commit is contained in:
		
							parent
							
								
									8a599d51f7
								
							
						
					
					
						commit
						b72a411859
					
				@ -17,12 +17,7 @@ public class Translator {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
    protected Request request;
 | 
					    protected Request request;
 | 
				
			||||||
    public Translator() {
 | 
					    public Translator() {
 | 
				
			||||||
        if (globalAuthKey == null) {
 | 
					        if (globalAuthKey == null) {t to define a different authkey every time do: "new Translator(String authKey)"
 | 
				
			||||||
/*
 | 
					 | 
				
			||||||
[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 Translator Constructor." +
 | 
					            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 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");
 | 
					             "\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) {
 | 
					    public Translator(String authKey) {
 | 
				
			||||||
        if (!Objects.equals(globalAuthKey, "null")) {
 | 
					        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()\"" +
 | 
					            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 :)");
 | 
					            "\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) {
 | 
					    public Translator(String authKey, boolean silence) {
 | 
				
			||||||
        if (!Objects.equals(globalAuthKey, "null") && !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()\"" +
 | 
					            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 :)");
 | 
					            "\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() {
 | 
					    public static Translator of() {
 | 
				
			||||||
        if (globalAuthKey == null) {
 | 
					        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." +
 | 
					            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 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");
 | 
					             "\n[DeepJ] If you want to define an different authkey every time do: \"Translator.of(String authKey)\"\n");
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user