Skip to content

Instantly share code, notes, and snippets.

@emedinaa
Created December 1, 2017 13:09
Show Gist options
  • Save emedinaa/b3a04b05752108eea0b45a32a4b10bb3 to your computer and use it in GitHub Desktop.
Save emedinaa/b3a04b05752108eea0b45a32a4b10bb3 to your computer and use it in GitHub Desktop.
Java Tips
//validate not null
if(!Strings.isNullOrEmpty(String str)) {
// Do your stuff here
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment