rem: if (this.preferences.get("language")) { if (this.preferences.get("country")) locale = new java.util.Locale(this.preferences.get("language"), this.preferences.get("country")); else locale = new java.util.Locale(this.preferences.get("language")); } else 
add: } if (language = this.value("language")) { if (country = this.value("country")) { locale = new java.util.Locale(language, country); } else { locale = new java.util.Locale(language); } } else { 
context: Site.prototype.getLocale = function() {   var locale = this.cache.locale;   if (locale)       return locale;   if (this.preferences.get("language")) {      if (this.preferences.get("country"))         locale = new java.util.Locale(this.preferences.get("language"),                                       this.preferences.get("country"));      else         locale = new java.util.Locale(this.preferences.get("language"));   } else      locale = root.getLocale();   this.cache.locale =locale;   return locale;};
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/993/d46237ae5555045222f493137c5c51dbcd7b4033/Site.js/clean/code/Site/Site.js