<commit_before>// $Id: Marshaller.java,v 1.3 2004/09/23 22:31:24 belaban Exp $

package org.jgroups.util;


import org.jgroups.conf.ClassConfigurator;
import org.jgroups.ChannelException;

import java.io.Externalizable;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;




/**
 * Title:        JGroups Communications
 * Description:  Contact me at <a href="mailto:<EMAIL>"><EMAIL></a>
 * Copyright:    Copyright (c) 2002
 * Company:      www.filip.net
 * @author <NAME>
 * @author <NAME>
 * @version 1.0
 *
 * This class marshalls classes, in other words it serializes and deserizlizes classes
 * to and from object streams.
 * It performs a magic number matching to decrease the number of bytes that are being sent
 * over the wire.
 * If no magic number is available for the class, the classname is sent over instead
 */
public class Marshaller {
    /**
     * The class configurator maps classes to magic numbers
     */
    private static final ClassConfigurator mConfigurator;

    static {
        try {
            mConfigurator=ClassConfigurator.getInstance();
        }
        catch(ChannelException e) {
            throw new ExceptionInInitializerError(e.toString());
        }
    }


    public Marshaller() {
    }

    /**<commit_msg>fixed typo<commit_after>// $Id: Marshaller.java,v 1.4 2004/09/24 09:03:45 belaban Exp $

package org.jgroups.util;


import org.jgroups.conf.ClassConfigurator;
import org.jgroups.ChannelException;

import java.io.Externalizable;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;




/**
 * Title:        JGroups Communications
 * Description:  Contact me at <a href="mailto:<EMAIL>"><EMAIL></a>
 * Copyright:    Copyright (c) 2002
 * Company:      www.filip.net
 * @author <NAME>
 * @author <NAME>
 * @version 1.0
 *
 * This class marshalls classes, in other words it serializes and deserializes classes
 * to and from object streams.
 * It performs a magic number matching to decrease the number of bytes that are being sent
 * over the wire.
 * If no magic number is available for the class, the classname is sent over instead
 */
public class Marshaller {
    /**
     * The class configurator maps classes to magic numbers
     */
    private static final ClassConfigurator mConfigurator;

    static {
        try {
            mConfigurator=ClassConfigurator.getInstance();
        }
        catch(ChannelException e) {
            throw new ExceptionInInitializerError(e.toString());
        }
    }


    public Marshaller() {
    }

    /**
{'fraction_non_alphanumeric': 0.09490470633994555, 'fraction_numerical': 0.017113963438350838, 'mean_word_length': 3.031347962382445, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4211884', 'n_tokens_mistral': 783, 'n_tokens_neox': 732, 'n_words': 241}