use getMarker

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443552 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2013-02-07 15:24:56 +00:00
parent 47b902d8ab
commit 96442edfda
1 changed files with 2 additions and 2 deletions

View File

@ -1183,13 +1183,13 @@ public class ArchivaDavResourceFactory
if ( System.currentTimeMillis() - tmp.getCreationTime() > ( indexMerger.getGroupMergedIndexTtl() * 60 if ( System.currentTimeMillis() - tmp.getCreationTime() > ( indexMerger.getGroupMergedIndexTtl() * 60
* 1000 ) ) * 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 ); "tmp group index '{}' is too old so delete it", groupId );
indexMerger.cleanTemporaryGroupIndex( tmp ); indexMerger.cleanTemporaryGroupIndex( tmp );
} }
else else
{ {
log.debug( MarkerFactory.getDetachedMarker( "group.merged.index" ), log.debug( MarkerFactory.getMarker( "group.merged.index" ),
"merged index for group '{}' found in cache", groupId ); "merged index for group '{}' found in cache", groupId );
return tmp.getDirectory(); return tmp.getDirectory();
} }