Currency test_currency = getInstance (all_locales[i]);  if (test_currency.getCurrencyCode() != null && test_currency.getCurrencyCode().equals(currencyCode)) return test_currency;
newCurrency = new Currency (locale);  cache.put(locale, newCurrency);
  public static Currency getInstance (String currencyCode)  {    Locale[] all_locales = Locale.getAvailableLocales ();        for (int i=0;i<all_locales.length;i++)      {	Currency test_currency = getInstance (all_locales[i]);		if (test_currency.getCurrencyCode() != null &&	    test_currency.getCurrencyCode().equals(currencyCode))	  return test_currency;      }        return null;  }