public static void setProperty(Properties props, String key, String value) { if (value == null) { return; } if (props == null) { return; } value = Web.cleanHtml(value); if (value.trim().length() < 1) { return; } props.setProperty(key, value); }
public static void setProperty(Properties props, String key, String value) { if ( value == null ) return; if ( props == null ) return; value = Web.cleanHtml(value); if ( value.trim().length() < 1 ) return; props.setProperty(key, value); }