code: @Override
      public CachedResource
              findInCache(ResourceType resourceType, String location) {
          if (nulls(resourceType, location)) {
              throw new InvalidArgument("parameter(s) are null");
          }
  
          String hashCompare = hasher.hashValue(location);
  
          for (CachedResource cacheEntry : getResources()) {
              if (hashCompare.equals(cacheEntry.getRemoteLocation())) {
                  File resourceDirectory = cacheEntry.getLocalFile();
                  for (File f : resourceDirectory.listFiles()) {
                      if (f.getName().equals(
                              CacheLookupService.DEFAULT_RESOURCE_FILE_NAME
                                      + resourceType.getResourceExtension())) {
                          return cacheEntry;
                      }
                  }
              }
          }
  
          return null;
      }
docs: {@inheritDoc}