code: private List<JoinableResourceBundle> getBundlesFromName(List<String> names, List<JoinableResourceBundle> bundles) {
  
  		List<JoinableResourceBundle> resultBundles = new ArrayList<>();
  		for (String name : names) {
  			for (JoinableResourceBundle bundle : bundles) {
  				if (bundle.getName().equals(name)) {
  					resultBundles.add(bundle);
  				}
  			}
  		}
  
  		return resultBundles;
  	}
docs: Returns a list of bundles using the bundle names from a list of bundles
  
  @param names
  the list of bundle name
  @param bundles
  the list of bundle
  @return a list of bundles