<commit_before>package org.ybiquitous.messages;

final class Utils {

    public static <T> T notNull(T obj, String name) throws NullPointerException {
        if (obj == null) {
            throw new NullPointerException(name + " is required");
        }
        return obj;
    }

    private Utils() {
    }
}<commit_msg>fix Utils#notNull: if name parameter is null, call NullPointerException() not NullPointerException(String)<commit_after>package org.ybiquitous.messages;

final class Utils {

    public static <T> T notNull(T obj, String name) throws NullPointerException {
        if (obj == null) {
            if (name == null) {
                throw new NullPointerException();
            } else {
                throw new NullPointerException(name + " is required");
            }
        }
        return obj;
    }

    private Utils() {
    }
}
{'fraction_non_alphanumeric': 0.0951276102088167, 'fraction_numerical': 0.0, 'mean_word_length': 2.2322097378277155, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4816586', 'n_tokens_mistral': 244, 'n_tokens_neox': 233, 'n_words': 71}