Created
October 28, 2014 08:10
-
-
Save BinRoot/b83113d2020e7e8a7aef 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
boolean doAction = false; | |
if (condition) { | |
doAction = true; | |
} else { | |
doAction = false; | |
} | |
if (doAction) { | |
// ... | |
} else { | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment