<commit_before>package ws.wamp.jawampa.registrations;

import java.util.Objects;
import java.util.concurrent.Executor;

import rx.Observer;
import rx.functions.Action0;
import rx.functions.Action1;
import rx.subjects.PublishSubject;
import ws.wamp.jawampa.Request;
import ws.wamp.jawampa.roles.Callee;

public class Procedure {
    private final Executor executor;
    private final Callee callee;
    private final String procedure;

    private Procedure( Executor executor, Callee callee, String procedure ) {
        this.executor = Objects.requireNonNull( executor );
        this.callee = Objects.requireNonNull( callee );
        this.procedure = Objects.requireNonNull( procedure );
    }

    public void unsubscribe() {
        final PublishSubject<Void> resultSubject = PublishSubject.create();

        executor.execute( new Runnable() {
            @Override<commit_msg>Procedures are unregistered, not unsubscribed<commit_after>package ws.wamp.jawampa.registrations;

import java.util.Objects;
import java.util.concurrent.Executor;

import rx.Observer;
import rx.functions.Action0;
import rx.functions.Action1;
import rx.subjects.PublishSubject;
import ws.wamp.jawampa.Request;
import ws.wamp.jawampa.roles.Callee;

public class Procedure {
    private final Executor executor;
    private final Callee callee;
    private final String procedure;

    private Procedure( Executor executor, Callee callee, String procedure ) {
        this.executor = Objects.requireNonNull( executor );
        this.callee = Objects.requireNonNull( callee );
        this.procedure = Objects.requireNonNull( procedure );
    }

    public void unregister() {
        final PublishSubject<Void> resultSubject = PublishSubject.create();

        executor.execute( new Runnable() {
            @Override
{'fraction_non_alphanumeric': 0.08736783528102393, 'fraction_numerical': 0.0022259321090706734, 'mean_word_length': 3.7946666666666666, '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': '4552872', 'n_tokens_mistral': 526, 'n_tokens_neox': 508, 'n_words': 125}