<commit_before>/**
 * Generated by Gas3 v2.3.0 (Granite Data Services).
 *
 * NOTE: this file is only generated if it does not exist. You may safely put
 * your custom code here.
 */

package org.openforis.collect.model.proxy {
	import org.openforis.collect.i18n.Message;
	import org.openforis.collect.metamodel.proxy.LanguageSpecificTextProxy;
	import org.openforis.collect.util.StringUtil;

	/**
	 * @author <NAME>
	 * */
    [Bindable]
    [RemoteClass(alias="org.openforis.collect.model.proxy.ValidationResultProxy")]
    public class ValidationResultProxy extends ValidationResultProxyBase {
		
		public function getMessage():String {
			var result:String = LanguageSpecificTextProxy.getLocalizedText(messages);
			if(StringUtil.isBlank(result)) {
				if(ruleName == "ComparisonCheck") {
					result = getComparisonCheckMessage();
				} else {
					if(messageKey != null) {
						result = Message.get(messageKey, messageArgs);
					} else {
						result = ruleName;
					}
				}
			}<commit_msg>Code clean<commit_after>/**
 * Generated by Gas3 v2.3.0 (Granite Data Services).
 *
 * NOTE: this file is only generated if it does not exist. You may safely put
 * your custom code here.
 */

package org.openforis.collect.model.proxy {
	import org.openforis.collect.i18n.Message;
	import org.openforis.collect.metamodel.proxy.LanguageSpecificTextProxy;
	import org.openforis.collect.util.StringUtil;

	/**
	 * @author <NAME>
	 * */
    [Bindable]
    [RemoteClass(alias="org.openforis.collect.model.proxy.ValidationResultProxy")]
    public class ValidationResultProxy extends ValidationResultProxyBase {
		
		public function getMessage():String {
			var result:String = LanguageSpecificTextProxy.getLocalizedText(messages);
			if(StringUtil.isBlank(result)) {
				if(ruleName == "ComparisonCheck") {
					result = getComparisonCheckMessage();
				} else if(messageKey != null) {
					result = Message.get(messageKey, messageArgs);
				} else {
					result = ruleName;
				}
			}
{'fraction_non_alphanumeric': 0.11313131313131314, 'fraction_numerical': 0.006060606060606061, 'mean_word_length': 3.8673218673218672, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2502480', 'n_tokens_mistral': 689, 'n_tokens_neox': 588, 'n_words': 129}