<commit_before>include logger.Logger

include string.validator.StringValidator

@class
System(){
	extendAntOpts(){
		if [[ $(StringValidator beginsWith 6 ${1}) ]]; then
			${_log} info "configuring_ANT_OPTS_JVM..."
			export ANT_OPTS="${ANT_OPTS} -XX:MaxPermSize=1024m"
			${_log} info "completed"
		fi
	}

	getOS(){
		uname
	}

	setJavaHome(){
		if [[ $(StringValidator beginsWith 6.1 ${1}) ]]; then
			${_log} info "configuring_Liferay_to_use_JDK7..."

			if [[ $(getOS) =~ NT ]]; then
				export JAVA_HOME="C:\Program Files\Java\jdk1.7.0_80"<commit_msg>Better check for compatible java version<commit_after>include logger.Logger

include string.validator.StringValidator

@class
System(){
	extendAntOpts(){
		if [[ $(StringValidator isSubstring JAVA_HOME 1.7) ]]; then
			${_log} info "configuring_ANT_OPTS_JVM..."
			export ANT_OPTS="${ANT_OPTS} -XX:MaxPermSize=1024m"
			${_log} info "completed"
		fi
	}

	getOS(){
		uname
	}

	setJavaHome(){
		if [[ $(StringValidator beginsWith 6.1 ${1}) ]]; then
			${_log} info "configuring_Liferay_to_use_JDK7..."

			if [[ $(getOS) =~ NT ]]; then
				export JAVA_HOME="C:\Program Files\Java\jdk1.7.0_80"
{'fraction_non_alphanumeric': 0.16041848299912817, 'fraction_numerical': 0.026155187445510025, 'mean_word_length': 4.389671361502347, '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': '5064621', 'n_tokens_mistral': 485, 'n_tokens_neox': 428, 'n_words': 88}