PropertyResourceBundle bundle = populateBundle( new File( msgFolder, temp.toString( ) ) );
PropertyResourceBundle bundle = populateBundle( temp.toString( ) );
	private List gatherMessageBundles( ULocale locale )	{		if ( locale == null )			locale = ThreadResources.getLocale( );		List bundleHierarchy = new ArrayList( );		if ( this.baseName == null )			return bundleHierarchy;		// find the correspondent message files.		// e.g: message		final String language = locale.getLanguage( );		final int languageLength = language.length( );		final String country = locale.getCountry( );		final int countryLength = country.length( );		if ( languageLength > 0 && countryLength > 0 )		{			// LANGUAGE_COUNTRY			StringBuffer temp = new StringBuffer( baseName );			temp.append( "_" ); //$NON-NLS-1$			temp.append( language );			temp.append( "_" ); //$NON-NLS-1$			temp.append( country );			temp.append( ".properties" ); //$NON-NLS-1$			PropertyResourceBundle bundle = populateBundle( new File(					msgFolder, temp.toString( ) ) );			if ( bundle != null )				bundleHierarchy.add( bundle );		}		if ( languageLength > 0 )		{			// LANGUAGE			StringBuffer temp = new StringBuffer( baseName );			temp.append( "_" ); //$NON-NLS-1$			temp.append( language );			temp.append( ".properties" ); //$NON-NLS-1$			PropertyResourceBundle bundle = populateBundle( new File(					msgFolder, temp.toString( ) ) );			if ( bundle != null )				bundleHierarchy.add( bundle );		}		// default.		PropertyResourceBundle bundle = populateBundle( new File( msgFolder,				baseName + ".properties" ) ); //$NON-NLS-1$		if ( bundle != null )			bundleHierarchy.add( bundle );		return bundleHierarchy;	}