Back to project page dashclock-gerrit.
The source code is released under:
Apache License
If you think the Android project dashclock-gerrit listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.plusonelabs.dashclock.gerrit.util; //from w w w.j ava2 s .co m public class StringUtil { public static final String EMPTY_STRING = ""; public static boolean hasContent(String string) { if (string != null) { return !string.trim().equals(EMPTY_STRING); } return false; } }