<commit_before>include app.server.validator.AppServerValidator
include app.server.version.constants.AppserverVersionConstants
include app.server.version.override.AppServerVersionOverride

include string.util.StringUtil
include string.validator.StringValidator

@class
AppServerVersion(){
	getAppServerVersion(){
		if [[ ! $(StringValidator isNull ${@}) ]]; then
			local appServer=${1}
			local branch=${2}

			if [[ $(AppServerValidator isTomcat appServer) ]]; then
				AppServerVersionOverride getTomcatVersion ${branch}
			elif [[ $(AppServerValidator isWildfly appServer) ]]; then
				AppServerVersionOverride getWildflyVersion ${branch}
			elif [[ $(AppServerValidator isTCServer appServer) ]]; then
				AppServerVersionConstants TCSERVER_VERSION
			else
				AppServerVersionConstants $(
					StringUtil toUpperCase ${appServer})_VERSION
			fi
		fi
	}

	$@
}<commit_msg>Remove order dependency for variables<commit_after>include app.server.validator.AppServerValidator
include app.server.version.constants.AppserverVersionConstants
include app.server.version.override.AppServerVersionOverride

include base.vars.BaseVars

include string.util.StringUtil
include string.validator.StringValidator

@class
AppServerVersion(){
	getAppServerVersion(){
		if [[ ! $(StringValidator isNull ${@}) ]]; then
			if [[ $(AppServerValidator isTomcat appServer) ]]; then
				AppServerVersionOverride getTomcatVersion ${branch}
			elif [[ $(AppServerValidator isWildfly appServer) ]]; then
				AppServerVersionOverride getWildflyVersion ${branch}
			elif [[ $(AppServerValidator isTCServer appServer) ]]; then
				AppServerVersionConstants TCSERVER_VERSION
			else
				AppServerVersionConstants $(
					StringUtil toUpperCase ${appServer})_VERSION
			fi
		fi
	}

	local appServer=$(AppServerValidator returnAppServerValidator $@)
	local branch=$(BaseVars getBranch $@)

	$@
}
{'fraction_non_alphanumeric': 0.09554482018250134, 'fraction_numerical': 0.0010735373054213634, 'mean_word_length': 5.802919708029197, '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': '2633804', 'n_tokens_mistral': 569, 'n_tokens_neox': 508, 'n_words': 110}