Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (Constants.IS_LIVE_MOD == false)
- account = Constants.OM_ACCOUNT;
- else
- account = "abc";
- private static final boolean MY_VAR = false;
- if(MY_VAR == false) {
- System.out.println("Always does this");
- }
- else {
- System.out.println("Dead code");
- }
- account = Constants.IS_LIVE_MOD ? "abc"
- : Constants.OM_ACCOUNT;
- if (false == false)
- account = Constants.OM_ACCOUNT;
- else
- account = "abc";
- if (!Constants.IS_LIVE_MOD)
- account = Constants.OM_ACCOUNT;
- else
- account = "abc";
- if (Constants.IS_LIVE_MOD)
- account = "abc";
- else
- account = Constants.OM_ACCOUNT;
Add Comment
Please, Sign In to add comment