elements = Math.max(elements, urls.length);
}
Collection<License> licenseList = new ArrayList<License>();
for(int i=0;i<elements;i++){
try {
licenseList.add(new License(
names.length>i?names[i]:null,
urls.length>i?urls[i]:null,
texts.length>i?texts[i]:null));
} catch(IllegalArgumentException e){
//ignore if name, text and url == null and/or empty