public StringClauses replace(String key, String newValue) throws IllegalArgumentException {
        return replaceImpl(key, StringUtil.trimToEmpty(newValue));
    }
public StringClauses replace(String key, String newValue) throws IllegalArgumentException {
        return replaceImpl(key, StringUtil.trimToEmpty(newValue));
    }
public StringClauses replace ( String key , String newValue ) throws IllegalArgumentException { return replaceImpl ( key , StringUtil . trimToEmpty ( newValue ) ) ; }
Replaces the given key with a new string. If the existing key does not exist, throws IllegalArgumentException
Replaces the given key with a new string . If the existing key does not exist throws IllegalArgumentException