<commit_before>
package com.fs.xml2json.util;

/**
 * Uncategorized utility methods.
 *
 * @author <NAME>
 * @since 1.2.0
 */
public class ApplicationUtils {

    public static final String UNNOWN_VERSION = "unknown";
    
    
    private ApplicationUtils() {
    }

    /**
     * Returns application version from Manifest-file.
     *
     * @return string with application version
     */
    public static final String getVersion() {
        String version = ApplicationUtils.class.getPackage().getImplementationVersion();
        if (null == version || version.isEmpty()) {
            version = UNNOWN_VERSION;
        }
        return version;
    }
}<commit_msg>Added new method for tests<commit_after>
package com.fs.xml2json.util;

/**
 * Uncategorized utility methods.
 *
 * @author <NAME>
 * @since 1.2.0
 */
public class ApplicationUtils {

    public static final String UNNOWN_VERSION = "unknown";
    
    
    private ApplicationUtils() {
    }

    /**
     * Returns application version from Manifest-file.
     *
     * @return string with application version
     */
    public static final String getVersion() {
        String version = getVersionFromManifest();
        if (null == version || version.isEmpty()) {
            version = UNNOWN_VERSION;
        }
        return version;
    }
    
    /**
     * Returns application version from Manifest.
     * 
     * @return application versions
     */
    private static String getVersionFromManifest() {
        return ApplicationUtils.class.getPackage().getImplementationVersion();
    }
}
{'fraction_non_alphanumeric': 0.10127388535031848, 'fraction_numerical': 0.005095541401273885, 'mean_word_length': 2.422657952069717, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4261094', 'n_tokens_mistral': 420, 'n_tokens_neox': 419, 'n_words': 112}