From 7a5bc65de4877f79b7c8ff30fc4f77976cce46cb Mon Sep 17 00:00:00 2001 From: Martin Stockhammer Date: Tue, 20 Aug 2019 10:01:49 +0200 Subject: Implementing stream methods. Changing date arguments to java time API. --- .../java/org/apache/archiva/webtest/memory/TestMetadataRepository.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'archiva-modules/archiva-web/archiva-web-common') 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 getArtifactsByDateRange( RepositorySession session, String repoId, Date startTime, Date endTime ) + public List getArtifactsByDateRange(RepositorySession session, String repoId, ZonedDateTime startTime, ZonedDateTime endTime ) { return artifacts; } -- cgit v1.2.3