<commit_before>package play.mvc;

import java.util.*;

import play.libs.F.*;

public abstract class WebSocket<A> {
    
    public abstract void onReady(In<A> in, Out<A> out);
    
    public static class Out<A> {
        
        final play.api.libs.iteratee.CallbackEnumerator<A> enumerator;
        
        public Out(play.api.libs.iteratee.CallbackEnumerator<A> enumerator) {
            this.enumerator = enumerator;
        }
        
        public void write(A frame) {
            enumerator.push(frame);
        }
        
        public void close() {
            enumerator.close();
        }
        
    }
    
    public static class In<A> {
        
        public final List<Callback<A>> callbacks = new ArrayList<Callback<A>>();
        
        public void onMessage(Callback<A> callback) {
            callbacks.add(callback);
        }
        
    }
    
}<commit_msg>Trailing whitespaces<commit_after>package play.mvc;

import java.util.*;

import play.libs.F.*;

public abstract class WebSocket<A> {

    public abstract void onReady(In<A> in, Out<A> out);

    public static class Out<A> {

        final play.api.libs.iteratee.CallbackEnumerator<A> enumerator;

        public Out(play.api.libs.iteratee.CallbackEnumerator<A> enumerator) {
            this.enumerator = enumerator;
        }

        public void write(A frame) {
            enumerator.push(frame);
        }

        public void close() {
            enumerator.close();
        }

    }

    public static class In<A> {

        public final List<Callback<A>> callbacks = new ArrayList<Callback<A>>();

        public void onMessage(Callback<A> callback) {
            callbacks.add(callback);
        }

    }

}
{'fraction_non_alphanumeric': 0.10766530134581627, 'fraction_numerical': 0.0, 'mean_word_length': 1.9482758620689655, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, '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': '7147234', 'n_tokens_mistral': 518, 'n_tokens_neox': 503, 'n_words': 107}