public void addResourceLocales(Collection<Locale> locales) {

        if ((locales != null) && !locales.isEmpty()) {
            for (Locale locale : locales) {
                m_doc.addField(CmsSearchField.FIELD_RESOURCE_LOCALES, locale.toString());
            }
        }
    }
public void addResourceLocales ( Collection < Locale > locales ) { if ( ( locales != null ) && ! locales . isEmpty ( ) ) { for ( Locale locale : locales ) { m_doc . addField ( CmsSearchField . FIELD_RESOURCE_LOCALES , locale . toString ( ) ) ; } } }
@see org.opencms.search.I_CmsSearchDocument#addResourceLocales(java.util.Collection)