<commit_before>package com.github.dreamhead.moco.extractor;

import com.github.dreamhead.moco.HttpRequest;
import com.github.dreamhead.moco.HttpRequestExtractor;
import com.google.common.base.Optional;

import static com.google.common.base.Optional.of;

public class VersionExtractor extends HttpRequestExtractor<String> {
    @Override
    protected Optional<String> doExtract(final HttpRequest request) {
        return of(request.getVersion().text());
    }
}<commit_msg>added missing final to version extractor<commit_after>package com.github.dreamhead.moco.extractor;

import com.github.dreamhead.moco.HttpRequest;
import com.github.dreamhead.moco.HttpRequestExtractor;
import com.google.common.base.Optional;

import static com.google.common.base.Optional.of;

public class VersionExtractor extends HttpRequestExtractor<String> {
    @Override
    protected final Optional<String> doExtract(final HttpRequest request) {
        return of(request.getVersion().text());
    }
}
{'fraction_non_alphanumeric': 0.0998980632008155, 'fraction_numerical': 0.0, 'mean_word_length': 5.4183006535947715, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2896445', 'n_tokens_mistral': 286, 'n_tokens_neox': 280, 'n_words': 54}