<commit_before>package org.wso2.carbon.transport.http.netty.contractimpl;

import org.wso2.carbon.transport.http.netty.contract.HTTPClientConnectorFuture;
import org.wso2.carbon.transport.http.netty.contract.HTTPConnectorListener;
import org.wso2.carbon.transport.http.netty.message.HTTPCarbonMessage;

/**
 * HTTPClientConnectorFutureImpl
 */
public class HTTPClientConnectorFutureImpl implements HTTPClientConnectorFuture {

    private HTTPConnectorListener httpConnectorListener = null;

    @Override
    public void setHTTPConnectorListener(HTTPConnectorListener connectorListener) {
        this.httpConnectorListener = connectorListener;
    }

    @Override
    public void removeHTTPListener() {
        this.httpConnectorListener = null;
    }

    @Override
    public void notifyHTTPListener(HTTPCarbonMessage httpMessage) {
        httpConnectorListener.onMessage(httpMessage);
    }
}<commit_msg>Add java doc to HTTPClientConnectorFutureImpl<commit_after>package org.wso2.carbon.transport.http.netty.contractimpl;

import org.wso2.carbon.transport.http.netty.contract.HTTPClientConnectorFuture;
import org.wso2.carbon.transport.http.netty.contract.HTTPConnectorListener;
import org.wso2.carbon.transport.http.netty.message.HTTPCarbonMessage;

/**
 * Implementation of the client connector future.
 */
public class HTTPClientConnectorFutureImpl implements HTTPClientConnectorFuture {

    private HTTPConnectorListener httpConnectorListener = null;

    @Override
    public void setHTTPConnectorListener(HTTPConnectorListener connectorListener) {
        this.httpConnectorListener = connectorListener;
    }

    @Override
    public void removeHTTPListener() {
        this.httpConnectorListener = null;
    }

    @Override
    public void notifyHTTPListener(HTTPCarbonMessage httpMessage) {
        httpConnectorListener.onMessage(httpMessage);
    }
}
{'fraction_non_alphanumeric': 0.07429182255478353, 'fraction_numerical': 0.00427578834847675, 'mean_word_length': 4.868338557993731, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3879461', 'n_tokens_mistral': 509, 'n_tokens_neox': 509, 'n_words': 83}