code: public Iterator<URL> getResources(String name) {
          ArrayList<URL> collectedResources = new ArrayList<URL>();
          try {
              synchronized (bundles) {
                  Collection<Bundle> values = bundles.values();
                  for (Bundle bundle : values) {
                      final Enumeration<URL> enumeration = bundle.getResources(name);
                      if (enumeration == null) {
                          continue;
                      }
                      while (enumeration.hasMoreElements()) {
                          collectedResources.add(enumeration.nextElement());
                      }
                  }
              }
          } catch (IOException e) {
              LOGGER.warn("IO exception during reading resources from bundle; returning current state.");
              collectedResources.iterator();
          }
          return collectedResources.iterator();
      }
docs: {@inheritDoc}