public String getDescription(String name, Locale locale)
   {
      ResourceBundle rb = rbs.get(locale);

      if (rb == null)
      {
         ResourceBundle newResourceBundle =
            ResourceBundle.getBundle("poolstatistics", locale,
                                     SecurityActions.getClassLoader(PoolStatisticsImpl.class));

         if (newResourceBundle != null)
            rbs.put(locale, newResourceBundle);
      }

      if (rb == null)
         rb = rbs.get(Locale.US);

      if (rb != null)
         return rb.getString(name);

      return "";
   }
public String getDescription ( String name , Locale locale ) { ResourceBundle rb = rbs . get ( locale ) ; if ( rb == null ) { ResourceBundle newResourceBundle = ResourceBundle . getBundle ( "poolstatistics" , locale , SecurityActions . getClassLoader ( PoolStatisticsImpl . class ) ) ; if ( newResourceBundle != null ) rbs . put ( locale , newResourceBundle ) ; } if ( rb == null ) rb = rbs . get ( Locale . US ) ; if ( rb != null ) return rb . getString ( name ) ; return "" ; }
{@inheritDoc}