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;
	}
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

@param bundles
the bundles
@return the list of bundle names