liquibase-core/src/main/java/liquibase/util/StringClauses.java
public StringClauses append(String key, String clause) {
        Validate.notNull(StringUtil.trimToNull(key), "key must be a non-null, non-empty value");

        key = StringUtil.trimToEmpty(key).toLowerCase();
        clause = StringUtil.trimToEmpty(clause);

        if (clauses.containsKey(key)) {
            throw new IllegalArgumentException("Cannot add clause with key '" + key + "' because it is already defined");
        }
        clauses.put(key, clause.trim());
        return this;
    }
public StringClauses append(String key, String clause) {
        Validate.notNull(StringUtil.trimToNull(key), "key must be a non-null, non-empty value");

        key = StringUtil.trimToEmpty(key).toLowerCase();
        clause = StringUtil.trimToEmpty(clause);

        if (clauses.containsKey(key)) {
            throw new IllegalArgumentException("Cannot add clause with key '" + key + "' because it is already defined");
        }
        clauses.put(key, clause.trim());
        return this;
    }
public StringClauses append ( String key , String clause ) { Validate . notNull ( StringUtil . trimToNull ( key ) , "key must be a non-null, non-empty value" ) ; key = StringUtil . trimToEmpty ( key ) . toLowerCase ( ) ; clause = StringUtil . trimToEmpty ( clause ) ; if ( clauses . containsKey ( key ) ) { throw new IllegalArgumentException ( "Cannot add clause with key '" + key + "' because it is already defined" ) ; } clauses . put ( key , clause . trim ( ) ) ; return this ; }
Adds a new clause at the end of the list with the given key.
Adds a new clause at the end of the list with the given key .