<commit_before>package org.jgroups.tests.helpers;

import org.jboss.byteman.rule.Rule;
import org.jboss.byteman.rule.helper.Helper;
import org.jgroups.Event;
import org.jgroups.Message;
import org.jgroups.stack.Protocol;

/**
 * @author <NAME>
 * @since 3.1
 */
public class SequencerFailoverTestHelper extends Helper {
    protected SequencerFailoverTestHelper(Rule rule) {
        super(rule);
    }

    public void sendMessages(final Protocol prot, final int start, final int end) {
        final Thread sender=new Thread() {
            public void run() {
                for(int i=start; i <= end; i++) {
                    Message msg=new Message(null, i);
                    System.out.println("[" + prot.getValue("local_addr") + "] --> sending message " + i);
                    prot.down(new Event(Event.MSG,msg));
                }
            }
        };
        sender.setName("BytemanSenderThread");
        sender.start();
        try {
            sender.join(1000);
        }
        catch(InterruptedException e) {
        }
    }
}<commit_msg>No need to extends Helper<commit_after>package org.jgroups.tests.helpers;

import org.jgroups.Event;
import org.jgroups.Message;
import org.jgroups.stack.Protocol;

/**
 * @author <NAME>
 * @since 3.1
 */
public class SequencerFailoverTestHelper {

    public void sendMessages(final Protocol prot, final int start, final int end) {
        final Thread sender=new Thread() {
            public void run() {
                for(int i=start; i <= end; i++) {
                    Message msg=new Message(null, i);
                    System.out.println("[" + prot.getValue("local_addr") + "] --> sending message " + i);
                    prot.down(new Event(Event.MSG,msg));
                }
            }
        };
        sender.setName("BytemanSenderThread");
        sender.start();
        try {
            sender.join(1000);
        }
        catch(InterruptedException e) {
        }
    }
}
{'fraction_non_alphanumeric': 0.12398373983739837, 'fraction_numerical': 0.006097560975609756, 'mean_word_length': 1.9924012158054711, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3142238', 'n_tokens_mistral': 578, 'n_tokens_neox': 558, 'n_words': 124}