key = ext_entry;
if (match == MimeType.MATCH_SPECIFIC_SUBTYPE)
break; // exact match exit loop asap
}
}
return types.lookup(key);
} catch (InvalidResourceException ex) {
String msg = ("[resource indexer]: content-types \""+
type+
"\" couldn't be restored ("+ex.getMessage()+")");
getContext().getServer().errlog(msg);