aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2013-05-19 22:26:08 +0000
committerOlivier Lamy <olamy@apache.org>2013-05-19 22:26:08 +0000
commit71dded175768d6949b2c4f9363049ffe52af320c (patch)
treef4355c4913b1b6f3d1326d73d545b337586910dc
parentf497da85480133bf6e73a67536fe834e809f13a8 (diff)
downloadarchiva-71dded175768d6949b2c4f9363049ffe52af320c.tar.gz
archiva-71dded175768d6949b2c4f9363049ffe52af320c.zip
add a FIXME comment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1484361 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--archiva-modules/plugins/repository-statistics/src/main/java/org/apache/archiva/metadata/repository/stats/DefaultRepositoryStatisticsManager.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/archiva-modules/plugins/repository-statistics/src/main/java/org/apache/archiva/metadata/repository/stats/DefaultRepositoryStatisticsManager.java b/archiva-modules/plugins/repository-statistics/src/main/java/org/apache/archiva/metadata/repository/stats/DefaultRepositoryStatisticsManager.java
index c0ed85a16..e93405b55 100644
--- a/archiva-modules/plugins/repository-statistics/src/main/java/org/apache/archiva/metadata/repository/stats/DefaultRepositoryStatisticsManager.java
+++ b/archiva-modules/plugins/repository-statistics/src/main/java/org/apache/archiva/metadata/repository/stats/DefaultRepositoryStatisticsManager.java
@@ -151,6 +151,8 @@ public class DefaultRepositoryStatisticsManager
long startGather = System.currentTimeMillis();
+ // FIXME what about other implementations ?
+
if ( metadataRepository.canObtainAccess( Session.class ) )
{
// TODO: this is currently very raw and susceptible to changes in content structure. Should we instead
@@ -168,7 +170,7 @@ public class DefaultRepositoryStatisticsManager
populateStatisticsFromRepositoryWalk( metadataRepository, repositoryId, repositoryStatistics );
}
- log.info( "Gathering statistics executed in " + ( System.currentTimeMillis() - startGather ) + "ms" );
+ log.info( "Gathering statistics executed in {} ms", ( System.currentTimeMillis() - startGather ) );
metadataRepository.addMetadataFacet( repositoryId, repositoryStatistics );
}