diff options
author | Martin Stockhammer <martin_s@apache.org> | 2019-08-20 10:01:49 +0200 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2019-08-20 10:01:49 +0200 |
commit | 7a5bc65de4877f79b7c8ff30fc4f77976cce46cb (patch) | |
tree | 35c0f789e0c34e19a32255b4ffdc402474c667a3 /archiva-modules/archiva-web/archiva-web-common | |
parent | d4ce38836d9f093d2024e26182f38fa3bc4890e2 (diff) | |
download | archiva-7a5bc65de4877f79b7c8ff30fc4f77976cce46cb.tar.gz archiva-7a5bc65de4877f79b7c8ff30fc4f77976cce46cb.zip |
Implementing stream methods. Changing date arguments to java time API.
Diffstat (limited to 'archiva-modules/archiva-web/archiva-web-common')
-rw-r--r-- | archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/webtest/memory/TestMetadataRepository.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/webtest/memory/TestMetadataRepository.java b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/webtest/memory/TestMetadataRepository.java index f2d7cf2de..6c1e9b87d 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/webtest/memory/TestMetadataRepository.java +++ b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/webtest/memory/TestMetadataRepository.java @@ -23,6 +23,7 @@ import org.apache.archiva.metadata.model.ArtifactMetadata; import org.apache.archiva.metadata.repository.AbstractMetadataRepository; import org.apache.archiva.metadata.repository.RepositorySession; +import java.time.ZonedDateTime; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; @@ -89,7 +90,7 @@ public class TestMetadataRepository } @Override - public List<ArtifactMetadata> getArtifactsByDateRange( RepositorySession session, String repoId, Date startTime, Date endTime ) + public List<ArtifactMetadata> getArtifactsByDateRange(RepositorySession session, String repoId, ZonedDateTime startTime, ZonedDateTime endTime ) { return artifacts; } |