final String fingerprint = hashStrategy.getHash(locatorFactory.locate(resource.getUri()));
getBuildContextHolder().setValue(resource.getUri(), fingerprint);
rememberedSet.add(resource.getUri());
getLog().debug("Persist fingerprint for resource '" + resource.getUri() + "' : " + fingerprint);
if (resource.getType() == ResourceType.CSS) {
final Reader reader = new InputStreamReader(locatorFactory.locate(resource.getUri()));
getLog().debug("Check @import directive from " + resource);
// persist fingerprints in imported resources.
persistFingerprintsForCssImports(resource, reader);
}
} catch (final IOException e) {