<commit_before>package edu.csh.chase.sprint

import com.squareup.okhttp.OkHttpClient

class RequestProcessor(val request: Request, val client: OkHttpClient) {

    init {
        val builder = com.squareup.okhttp.Request.Builder()
        //builder.addHeader()
    }

}<commit_msg>Started work on the building of the OkHttpRequest<commit_after>package edu.csh.chase.sprint

import com.squareup.okhttp.OkHttpClient
import com.squareup.okhttp.Request as OkRequest

class RequestProcessor(val request: Request, val client: OkHttpClient, val successListener: SprintSuccess?,
                       val failureListener: SprintFailure?) {

    private fun buildOkRequest(): OkRequest {
        val builder = OkRequest.Builder()
        //TODO make sure the URL is still valid if the urlParams is null
        builder.url(request.url + request.urlParams?.toString())
        when (request.requestType) {
            RequestType.Get -> builder.get()
            RequestType.Post -> builder.post(request.body)
        }
        
    }

}
{'fraction_non_alphanumeric': 0.0914396887159533, 'fraction_numerical': 0.0, 'mean_word_length': 2.972972972972973, 'pattern_counts': {'":': 0, '<': 3, '<?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': '2139085', 'n_tokens_mistral': 290, 'n_tokens_neox': 283, 'n_words': 72}