forked from 5gi/DeepJ
		
	add s.out.prtln comments
This commit is contained in:
		
							parent
							
								
									0b634901ff
								
							
						
					
					
						commit
						04bfc0fe22
					
				@ -20,6 +20,11 @@ public class Translator {
 | 
			
		||||
    private 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)"
 | 
			
		||||
*/
 | 
			
		||||
            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");
 | 
			
		||||
@ -29,6 +34,10 @@ 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 :)");
 | 
			
		||||
        }
 | 
			
		||||
@ -36,6 +45,10 @@ public class Translator {
 | 
			
		||||
    }
 | 
			
		||||
    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 :)");
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user