package jwebform.view;

/**
 * Some basic string utils to avoid dependance to commons
 * @author jochen
 *
 */
public class StringUtils {
	
	public static final String EMPTY_STR = "";
	
    public static boolean isEmpty(final CharSequence cs) {
        return cs == null || cs.length() == 0;
    }
    public static String defaultString(final String str) {
        return str == null ? EMPTY_STR : str;
    }

    
}

@@ -79,16 +79,58 @@
 commons%0A
+ * %0A * RFE: Make this public private!%0A * %0A
  * @auth

add RFE