diff options
Diffstat (limited to 'archiva-modules/metadata')
-rw-r--r-- | archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/RepositoryPathTranslator.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/RepositoryPathTranslator.java b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/RepositoryPathTranslator.java index 8c7b2894f..77bcb9ec0 100644 --- a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/RepositoryPathTranslator.java +++ b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/RepositoryPathTranslator.java @@ -21,7 +21,7 @@ package org.apache.archiva.metadata.repository.storage; import org.apache.archiva.metadata.model.ArtifactMetadata; -import java.io.File; +import java.nio.file.Path; public interface RepositoryPathTranslator { @@ -31,13 +31,13 @@ public interface RepositoryPathTranslator String toPath( String namespace, String projectId ); - File toFile( File basedir, String namespace, String projectId, String projectVersion, String filename ); + Path toFile( Path basedir, String namespace, String projectId, String projectVersion, String filename ); - File toFile( File basedir, String namespace, String projectId ); + Path toFile( Path basedir, String namespace, String projectId ); - File toFile( File basedir, String namespace ); + Path toFile(Path basedir, String namespace ); - File toFile( File basedir, String namespace, String projectId, String projectVersion ); + Path toFile( Path basedir, String namespace, String projectId, String projectVersion ); ArtifactMetadata getArtifactForPath( String repoId, String relativePath ); |