<commit_before>include base.vars.BaseVars

include props.writer.util.PropsWriterUtil

PropsWriter(){
	setAppServerProps(){
		${setProps} ${appServerProps} ${2} ${3}
	}

	setBuildProps(){
		${setProps} ${buildProps} ${2} ${3}
	}

	setPortalProps(){
		${setProps} ${portalProps} ${2} ${3}
	}

	setTestProps(){
		${setProps} ${testProps} ${2} ${3}
	}

	unsetAppServerProps(){
		${disableProps} ${appServerProps} ${2}
	}

	unsetBuildProps(){
		${disableProps} ${buildProps} ${2}
	}

	unsetPortalProps(){
		${disableProps} ${portalProps} ${2}
	}

	unsetTestProps(){
		${disableProps} ${testProps} ${2}
	}

	local _buildDir=$(BaseVars returnBuildDir ${2})
	local _bundleDir=$(BaseVars returnBundleDir ${2})
	local appServerProps=${_buildDir}/app.server.${HOSTNAME}.properties
	local buildProps=${_buildDir}/build.${HOSTNAME}.proeprties
	local disableProps="PropsWriterUtil disableProps"
	local portalProps=${_bundleDir}/portal-ext.properties
	local setProps="PropsWriterUtil setProps"
	local testProps=${_buildDir}/test.${HOSTNAME}.properties

	$@
}<commit_msg>Fix properties file extension<commit_after>include base.vars.BaseVars

include props.writer.util.PropsWriterUtil

PropsWriter(){
	setAppServerProps(){
		${setProps} ${appServerProps} ${2} ${3}
	}

	setBuildProps(){
		${setProps} ${buildProps} ${2} ${3}
	}

	setPortalProps(){
		${setProps} ${portalProps} ${2} ${3}
	}

	setTestProps(){
		${setProps} ${testProps} ${2} ${3}
	}

	unsetAppServerProps(){
		${disableProps} ${appServerProps} ${2}
	}

	unsetBuildProps(){
		${disableProps} ${buildProps} ${2}
	}

	unsetPortalProps(){
		${disableProps} ${portalProps} ${2}
	}

	unsetTestProps(){
		${disableProps} ${testProps} ${2}
	}

	local _buildDir=$(BaseVars returnBuildDir ${2})
	local _bundleDir=$(BaseVars returnBundleDir ${2})
	local appServerProps=${_buildDir}/app.server.${HOSTNAME}.properties
	local buildProps=${_buildDir}/build.${HOSTNAME}.properties
	local disableProps="PropsWriterUtil disableProps"
	local portalProps=${_bundleDir}/portal-ext.properties
	local setProps="PropsWriterUtil setProps"
	local testProps=${_buildDir}/test.${HOSTNAME}.properties

	$@
}
{'fraction_non_alphanumeric': 0.17685794920037629, 'fraction_numerical': 0.01317027281279398, 'mean_word_length': 6.385416666666667, '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': '330974', 'n_tokens_mistral': 759, 'n_tokens_neox': 735, 'n_words': 129}