Back to project page RobolectricSample.
The source code is released under:
MIT License
If you think the Android project RobolectricSample 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.pivotallabs.util; public class Strings { public static boolean isEmptyOrWhitespace(String s) { return (s == null) || (s.trim().length() == 0); } }