<commit_before>package com.vlkan.hrrs.example.jaxrs;

import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;

public class HelloResource {

    @POST
    @Produces({MediaType.TEXT_PLAIN})
    @Consumes({MediaType.TEXT_PLAIN})
    public Response sayHello(@QueryParam("name") String name, byte[] requestBody) {
        String responseBody = String.format("Hello, %s! (%d)%n", name, requestBody.length);
        return Response.ok(responseBody).build();
    }

}<commit_msg>Fix HelloResource in JAX-RS example.<commit_after>package com.vlkan.hrrs.example.jaxrs;

import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;

@Path("/")
public class HelloResource {

    @POST
    @Produces({MediaType.TEXT_PLAIN})
    @Consumes({MediaType.TEXT_PLAIN})
    public Response sayHello(@QueryParam("name") String name, byte[] requestBody) {
        String responseBody = String.format("Hello, %s! (%d)%n", name, requestBody.length);
        return Response.ok(responseBody).build();
    }

}
{'fraction_non_alphanumeric': 0.14857142857142858, 'fraction_numerical': 0.0, 'mean_word_length': 4.28140703517588, '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': '3405493', 'n_tokens_mistral': 342, 'n_tokens_neox': 340, 'n_words': 65}