Created
January 10, 2016 02:57
-
-
Save CanOrhan/f0402ce66fe3e8396db8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class NumberOneClassEU { | |
public void lookHereZyron(String param) { | |
String i = doSomething(param); | |
if("Super cool".equals(param)) { | |
executeSqlCommandA(i); | |
} | |
if("NOWAI".equals(param)) { | |
executeSqlCommandB(i); | |
} | |
if("JOHNNY".equals(param)) { | |
executeSqlCommandC(i); | |
} | |
} | |
public String doSomething(String param) { | |
if("Super cool".equals(param)) { | |
return "1"; | |
} | |
if("NOWAI".equals(param)) { | |
return "2"; | |
} | |
if("JOHNNY".equals(param)) { | |
return "3"; | |
} | |
return ""; | |
} | |
public void executeSqlCommandA(String param) { | |
SQL.execute(String.format("WOWOWOWOWOWOW %s", param)); | |
} | |
public void executeSqlCommandB(String param) { | |
SQL.execute(String.format("WOWOWOWOWOWOW %s", param)); | |
} | |
public void executeSqlCommandC(String param) { | |
SQL.execute(String.format("WOWOWOWOWOWOW %s", param)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment