<commit_before>package rx.broadcast;

import java.util.concurrent.ThreadFactory;
import java.util.concurrent.atomic.AtomicLong;

class DaemonThreadFactory implements ThreadFactory {
    private final AtomicLong id = new AtomicLong();

    @Override
    public final Thread newThread(final Runnable r) {
        final Thread t = new Thread(r);
        t.setDaemon(true);
        t.setName("RxBroadcast-" + id.incrementAndGet());
        return t;
    }
}<commit_msg>Annotate DaemonThreadFactory#newThread as NotNull<commit_after>package rx.broadcast;

import org.jetbrains.annotations.NotNull;

import java.util.concurrent.ThreadFactory;
import java.util.concurrent.atomic.AtomicLong;

class DaemonThreadFactory implements ThreadFactory {
    private final AtomicLong id = new AtomicLong();

    @NotNull
    @Override
    public final Thread newThread(@NotNull final Runnable r) {
        final Thread t = new Thread(r);
        t.setDaemon(true);
        t.setName("RxBroadcast-" + id.incrementAndGet());
        return t;
    }
}
{'fraction_non_alphanumeric': 0.09408341416100872, 'fraction_numerical': 0.0, 'mean_word_length': 3.690909090909091, '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': '7481951', 'n_tokens_mistral': 305, 'n_tokens_neox': 290, 'n_words': 73}