<commit_before>import java.io {
	Serializable
}

shared abstract class AbstractLocation<CeylonString>(shared CeylonString unLocode, String simpleName) 
		satisfies Serializable given CeylonString satisfies String{
	shared String name => simpleName + " (" + unLocode + ")";
}

shared class Location(String unLocode, String simpleName) 
		extends AbstractLocation<String>(unLocode,simpleName){}
<commit_msg>added comment<commit_after>import java.io {
	Serializable
}

// workaround to deactivate the automatic conversion from ceylon.language.String to java.lang.String for unLocode
// else it causes this JSF error "Validation Error: Value is not valid" with <p:selectOneMenu/>
shared abstract class AbstractLocation<CeylonString>(shared CeylonString unLocode, String simpleName) 
		satisfies Serializable given CeylonString satisfies String{
	shared String name => simpleName + " (" + unLocode + ")";
}

shared class Location(String unLocode, String simpleName) 
		extends AbstractLocation<String>(unLocode,simpleName){}

{'fraction_non_alphanumeric': 0.08333333333333333, 'fraction_numerical': 0.0, 'mean_word_length': 6.24113475177305, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 10, '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': '6442423', 'n_tokens_mistral': 290, 'n_tokens_neox': 273, 'n_words': 87}