Guest User

Untitled

a guest
Jul 21st, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. if (Constants.IS_LIVE_MOD == false)
  2. account = Constants.OM_ACCOUNT;
  3. else
  4. account = "abc";
  5.  
  6. private static final boolean MY_VAR = false;
  7.  
  8. if(MY_VAR == false) {
  9. System.out.println("Always does this");
  10. }
  11. else {
  12. System.out.println("Dead code");
  13. }
  14.  
  15. account = Constants.IS_LIVE_MOD ? "abc"
  16. : Constants.OM_ACCOUNT;
  17.  
  18. if (false == false)
  19. account = Constants.OM_ACCOUNT;
  20. else
  21. account = "abc";
  22.  
  23. if (!Constants.IS_LIVE_MOD)
  24. account = Constants.OM_ACCOUNT;
  25. else
  26. account = "abc";
  27.  
  28. if (Constants.IS_LIVE_MOD)
  29. account = "abc";
  30. else
  31. account = Constants.OM_ACCOUNT;
Add Comment
Please, Sign In to add comment