code: @Override
    public URL getResource(String name) {
  
      URL result = null;
  
      if (bestCandidate != null) {
        result = bestCandidate.getResource(name);
        if (result == null) {
          bestCandidate = null;
        }
      }
  
      ClassLoadHelper loadHelper = null;
  
      Iterator<ClassLoadHelper> iter = loadHelpers.iterator();
      while (iter.hasNext()) {
        loadHelper = iter.next();
  
        result = loadHelper.getResource(name);
        if (result != null) {
          break;
        }
      }
  
      bestCandidate = loadHelper;
      return result;
    }
docs: Finds a resource with a given name. This method returns null if no resource with this name is
  found.
  
  @param name name of the desired resource
  @return a java.net.URL object