<commit_before>package org.lightmare.ejb.handlers;

import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

import org.lightmare.remote.rpc.RPCall;
import org.lightmare.utils.RpcUtils;

/**
 * Local handler class for remote client call
 * 
 * @author levan
 * @since 0.0.26-SNAPSHOT
 */
public class BeanLocalHandler implements InvocationHandler {

    // Instance of RPC caller
    private RPCall rpCall;

    protected BeanLocalHandler(RPCall rpCall) {
	this.rpCall = rpCall;
    }

    @Override
    public Object invoke(Object proxy, Method method, Object[] args)
	    throws Throwable {

	Object value = RpcUtils.callRemoteMethod(proxy, method, args, rpCall);

	return value;
    }

}
<commit_msg>commented / improved code in utility classes<commit_after>package org.lightmare.ejb.handlers;

import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

import org.lightmare.remote.rpc.RPCall;
import org.lightmare.utils.RpcUtils;

/**
 * Local handler class for remote client call
 * 
 * @author <NAME>
 * @since 0.0.26-SNAPSHOT
 */
public class BeanLocalHandler implements InvocationHandler {

    // Instance of RPC caller
    private RPCall rpCall;

    protected BeanLocalHandler(RPCall rpCall) {
	this.rpCall = rpCall;
    }

    @Override
    public Object invoke(Object proxy, Method method, Object[] args)
	    throws Throwable {

	Object value = RpcUtils.callRemoteMethod(proxy, method, args, rpCall);

	return value;
    }

}

{'fraction_non_alphanumeric': 0.09391891891891892, 'fraction_numerical': 0.005405405405405406, 'mean_word_length': 3.8717105263157894, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '1371500', 'n_tokens_mistral': 481, 'n_tokens_neox': 462, 'n_words': 119}