package de.cs.fau.mad.quickshop.android.util;

public class StringHelper {


    public static boolean isNullOrWhiteSpace(String value) {
        if (value == null) {
            return true;
        } else {
            return value.trim().length() == 0;
        }
    }
}

@@ -70,16 +70,160 @@
 per %7B%0A%0A%0A
+    public static boolean isNullOrWhiteSpace(CharSequence value) %7B%0A        return value == null %7C%7C isNullOrWhiteSpace(value.toString());%0A    %7D%0A%0A
     publ

Support CharSequence in StingHelper