mirror of https://github.com/apache/archiva.git
use getMarker
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443552 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
47b902d8ab
commit
96442edfda
|
@ -1183,13 +1183,13 @@ public class ArchivaDavResourceFactory
|
|||
if ( System.currentTimeMillis() - tmp.getCreationTime() > ( indexMerger.getGroupMergedIndexTtl() * 60
|
||||
* 1000 ) )
|
||||
{
|
||||
log.debug( MarkerFactory.getDetachedMarker( "group.merged.index" ),
|
||||
log.debug( MarkerFactory.getMarker( "group.merged.index" ),
|
||||
"tmp group index '{}' is too old so delete it", groupId );
|
||||
indexMerger.cleanTemporaryGroupIndex( tmp );
|
||||
}
|
||||
else
|
||||
{
|
||||
log.debug( MarkerFactory.getDetachedMarker( "group.merged.index" ),
|
||||
log.debug( MarkerFactory.getMarker( "group.merged.index" ),
|
||||
"merged index for group '{}' found in cache", groupId );
|
||||
return tmp.getDirectory();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue