private static List < String > getBundleNames ( List < JoinableResourceBundle > bundles ) { List < String > bundleNames = new ArrayList <> ( ) ; for ( Iterator < JoinableResourceBundle > iterator = bundles . iterator ( ) ; iterator . hasNext ( ) ; ) { bundleNames . add ( iterator . next ( ) . getName ( ) ) ; } return bundleNames ; }
Returns the list of bundle names