<commit_before>package org.commonjava.aprox.stats;

import javax.enterprise.context.ApplicationScoped;

import org.commonjava.web.json.ser.JsonAdapters;

@ApplicationScoped
@JsonAdapters( AProxVersioningAdapter.class )
public class AProxVersioning
{
    
    private static final String APP_VERSION = "@project.version@";
    private static final String APP_BUILDER = "@user.name@";
    private static final String APP_COMMIT_ID = "@buildNumber@";
    private static final String APP_TIMESTAMP = "@timestamp@";
    
    public String getVersion()
    {
        return APP_VERSION;
    }

    public String getBuilder()
    {
        return APP_BUILDER;
    }

    public String getCommitId()<commit_msg>make versioning @Singleton to prevent proxying<commit_after>package org.commonjava.aprox.stats;

import javax.inject.Singleton;

import org.commonjava.web.json.ser.JsonAdapters;

@Singleton
@JsonAdapters( AProxVersioningAdapter.class )
public class AProxVersioning
{
    
    private static final String APP_VERSION = "@project.version@";
    private static final String APP_BUILDER = "@user.name@";
    private static final String APP_COMMIT_ID = "@buildNumber@";
    private static final String APP_TIMESTAMP = "@timestamp@";
    
    public String getVersion()
    {
        return APP_VERSION;
    }

    public String getBuilder()
    {
        return APP_BUILDER;
    }

    public String getCommitId()
{'fraction_non_alphanumeric': 0.08646350106307583, 'fraction_numerical': 0.0, 'mean_word_length': 3.722408026755853, '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': '4155078', 'n_tokens_mistral': 432, 'n_tokens_neox': 414, 'n_words': 102}