private CachedModuleLookup(boolean wasFound, ModuleVersionDescriptor module) {
this.module = module;
this.wasFound = wasFound;
}
}
<BUG>public ArtifactResolveResult download(Artifact artifact) {
if (isLocal()) {
return delegate.download(artifact);

}</BUG>
ArtifactAtRepositoryKey resolutionCacheIndexKey = new ArtifactAtRepositoryKey(delegate, artifact.getId());

private CachedModuleLookup(boolean wasFound, ModuleVersionDescriptor module) {
this.module = module;
this.wasFound = wasFound;
}
}
public void download(Artifact artifact, BuildableArtifactResolveResult result) {
if (isLocal()) {
delegate.download(artifact, result);
return;
}
ArtifactAtRepositoryKey resolutionCacheIndexKey = new ArtifactAtRepositoryKey(delegate, artifact.getId());
