this.validator = validator;
return this;
}
public T open() {
File cacheBaseDir = layout.getCacheDir(globalCacheDir, projectCacheDir, key);
<BUG>Map<String, ?> props = layout.applyLayoutProperties(properties);
return doOpen(cacheBaseDir, props, validator);
</BUG>
}
protected abstract T doOpen(File cacheDir, Map<String, ?> properties, CacheValidator validator);

this.validator = validator;
return this;
}
public T open() {
File cacheBaseDir = layout.getCacheDir(globalCacheDir, projectCacheDir, key);
return doOpen(cacheBaseDir, properties, validator);
}
protected abstract T doOpen(File cacheDir, Map<String, ?> properties, CacheValidator validator);
