private static void findWithCucumberSearcher(ClassLoader loader, String path, Collection<URL> list) {
final MultiLoader multiLoader = new MultiLoader(loader);
final Iterator<Resource> resources;
try {
resources = multiLoader.resources(path, EXTENSION).iterator();
} catch (final IllegalArgumentException iae) { // not a directory...
return;
}
while (resources.hasNext()) {