<commit_before>/* vim: set et ts=4 sts=4 sw=4 tw=72 : */
/* See the LICENSE file for the license of the project */
package uk.ac.cam.cl.git.api;

import com.fasterxml.jackson.annotation.*;

import uk.ac.cam.cl.git.interfaces.RepoUserRequestInterface;

/**
 * Concrete implementation of RepoUserRequestInterface, for internal
 * (deserialization) use.
 *
 * @author <NAME> &lt;<EMAIL>&gt;
 */
public class RepoUserRequestBean implements RepoUserRequestInterface
{
    private final String repoName;
    private final String repoOwner;

    @JsonCreator
    public RepoUserRequestBean(@JsonProperty("repoName")  String repoName
                        , @JsonProperty("repoOwner") String repoOwner)
    {
        this.repoName  = repoName;
        this.repoOwner = repoOwner;
    }

    @Override
    @JsonProperty("repoName")
    public String getRepoName() { return repoName; }

    @Override
    @JsonProperty("repoOwner")
    public String getUserName() { return repoOwner; }
}<commit_msg>Changed bean to match interface.<commit_after>/* vim: set et ts=4 sts=4 sw=4 tw=72 : */
/* See the LICENSE file for the license of the project */
package uk.ac.cam.cl.git.api;

import com.fasterxml.jackson.annotation.*;

import uk.ac.cam.cl.git.interfaces.RepoUserRequestInterface;

/**
 * Concrete implementation of RepoUserRequestInterface, for internal
 * (deserialization) use.
 *
 * @author <NAME> &lt;<EMAIL>&gt;
 */
public class RepoUserRequestBean implements RepoUserRequestInterface
{
    private final String repoName;
    private final String userName;

    @JsonCreator
    public RepoUserRequestBean(@JsonProperty("repoName")  String repoName
                        , @JsonProperty("userName") String userName)
    {
        this.repoName  = repoName;
        this.userName = userName;
    }

    @Override
    @JsonProperty("repoName")
    public String getRepoName() { return repoName; }

    @Override
    @JsonProperty("userName")
    public String getUserName() { return userName; }
}
{'fraction_non_alphanumeric': 0.10682046138415245, 'fraction_numerical': 0.0050150451354062184, 'mean_word_length': 3.4932432432432434, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '5137129', 'n_tokens_mistral': 597, 'n_tokens_neox': 581, 'n_words': 152}