<commit_before>package liquibase.statement.core;

import liquibase.statement.SqlStatement;

public class RawSqlStatement implements SqlStatement {

    private String sql;
    private String endDelimiter  = ";";


    public RawSqlStatement(String sql) {
        this.sql = sql;
    }

    public RawSqlStatement(String sql, String endDelimiter) {
        this(sql);
        this.endDelimiter = endDelimiter;
    }

    public String getSql() {
        return sql;
    }

    public String getEndDelimiter() {
        return endDelimiter.replace("\\r","\r").replace("\\n","\n");
    }

    @Override
    public String toString() {
        return sql;
    }
}<commit_msg>catch NPE<commit_after>package liquibase.statement.core;

import liquibase.statement.SqlStatement;

public class RawSqlStatement implements SqlStatement {

    private String sql;
    private String endDelimiter;


    public RawSqlStatement(String sql) {
        this.sql = sql;
    }

    public RawSqlStatement(String sql, String endDelimiter) {
        this(sql);
        this.endDelimiter = endDelimiter;
    }

    public String getSql() {
        return sql;
    }

    public String getEndDelimiter() {
        if (endDelimiter == null) {
            return null;
        }
        return endDelimiter.replace("\\r","\r").replace("\\n","\n");
    }

    @Override
    public String toString() {
        return sql;
    }
}
{'fraction_non_alphanumeric': 0.10642857142857143, 'fraction_numerical': 0.0, 'mean_word_length': 2.493765586034913, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3142613', 'n_tokens_mistral': 411, 'n_tokens_neox': 406, 'n_words': 94}