Skip to content

Instantly share code, notes, and snippets.

@lethargicpanda
Last active December 18, 2015 04:09
Show Gist options
  • Save lethargicpanda/5723267 to your computer and use it in GitHub Desktop.
Save lethargicpanda/5723267 to your computer and use it in GitHub Desktop.
Checks if a CharSequence is empty ("") or null.
import org.apache.commons.lang3.StringUtils
...
StringUtils.isBlank(myString)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment