diff options
author | Brett Porter <brett@apache.org> | 2009-12-08 15:09:13 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2009-12-08 15:09:13 +0000 |
commit | ebaee33d1ef27a2aefb989533fdbfb0ffd9f161b (patch) | |
tree | f53ba2d76fc545f309cfffa6666b3d0fe6b4b014 /archiva-modules/plugins | |
parent | b0304e08c3e10f7ffd8efc2e07f57beb3f482f8d (diff) | |
parent | 1d01e87b74bccbb0e4e7940b5bfc65332f5441a4 (diff) | |
download | archiva-ebaee33d1ef27a2aefb989533fdbfb0ffd9f161b.tar.gz archiva-ebaee33d1ef27a2aefb989533fdbfb0ffd9f161b.zip |
Merged /archiva/trunk:r887040-888396
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888427 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/plugins')
-rw-r--r-- | archiva-modules/plugins/repository-statistics/src/main/java/org/apache/archiva/metadata/repository/stats/DefaultRepositoryStatisticsManager.java | 3 |
1 files changed, 2 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 9fc14104f..b47e1166f 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 @@ -101,7 +101,8 @@ public class DefaultRepositoryStatisticsManager try { Date date = SCAN_TIMESTAMP.parse( name ); - if ( !date.before( startTime ) && !date.after( endTime ) ) + if ( ( startTime == null || !date.before( startTime ) ) && + ( endTime == null || !date.after( endTime ) ) ) { RepositoryStatistics stats = (RepositoryStatistics) metadataRepository.getMetadataFacet( repositoryId, |