@Override public void close() throws Exception { LanguageChoice.getInstance().setDefaultLocale(original); }
public LocaleChange(Locale newLocale) { original = LanguageChoice.getInstance().getDefaultLocale(); LanguageChoice.getInstance().setDefaultLocale(newLocale); }