flush cache at the correct point

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441777 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2006-09-09 10:35:39 +00:00
parent 2906f4b296
commit 5e188c6041
2 changed files with 8 additions and 8 deletions

View File

@ -189,11 +189,11 @@ public class IndexerTask
reportExecutor.runArtifactReports( currentArtifacts, repository );
index.indexArtifacts( currentArtifacts, recordFactory );
}
// MNG-142 - the project builder retains a lot of objects in its inflexible cache. This is a hack
// around that. TODO: remove when it is configurable
flushProjectBuilderCacheHack();
// MNG-142 - the project builder retains a lot of objects in its inflexible cache. This is a hack
// around that. TODO: remove when it is configurable
flushProjectBuilderCacheHack();
}
}
MetadataFilter metadataFilter =

View File

@ -189,11 +189,11 @@ public class DefaultReportExecutor
// run the reports.
runArtifactReports( currentArtifacts, repository );
}
// MNG-142 - the project builder retains a lot of objects in its inflexible cache. This is a hack
// around that. TODO: remove when it is configurable
flushProjectBuilderCacheHack();
// MNG-142 - the project builder retains a lot of objects in its inflexible cache. This is a hack
// around that. TODO: remove when it is configurable
flushProjectBuilderCacheHack();
}
}
MetadataDiscoverer metadataDiscoverer = (MetadataDiscoverer) metadataDiscoverers.get( layoutProperty );