diff options
author | Martin Stockhammer <martin_s@apache.org> | 2020-06-02 16:33:20 +0200 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2020-06-02 16:33:20 +0200 |
commit | 22a8cbfd22c8cfb33a8d4e3e82cf22a7c03df68b (patch) | |
tree | ff9558f4655cc13bd4b39505a69eabb0e8cf43f6 /archiva-modules/archiva-base/archiva-repository-scanner | |
parent | 7219cf4ffcc9cba30c02fa421a1cdf9921839f33 (diff) | |
download | archiva-22a8cbfd22c8cfb33a8d4e3e82cf22a7c03df68b.tar.gz archiva-22a8cbfd22c8cfb33a8d4e3e82cf22a7c03df68b.zip |
Switching to layout interface
Diffstat (limited to 'archiva-modules/archiva-base/archiva-repository-scanner')
-rw-r--r-- | archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/mock/ManagedRepositoryContentMock.java | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/mock/ManagedRepositoryContentMock.java b/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/mock/ManagedRepositoryContentMock.java index ab42866bb..604c70b21 100644 --- a/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/mock/ManagedRepositoryContentMock.java +++ b/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/mock/ManagedRepositoryContentMock.java @@ -23,7 +23,6 @@ import org.apache.archiva.common.filelock.DefaultFileLockManager; import org.apache.archiva.common.utils.VersionUtil; import org.apache.archiva.metadata.model.ArtifactMetadata; import org.apache.archiva.metadata.maven.model.MavenArtifactFacet; -import org.apache.archiva.model.ArchivaArtifact; import org.apache.archiva.model.ArtifactReference; import org.apache.archiva.model.ProjectReference; import org.apache.archiva.model.VersionedReference; @@ -386,18 +385,6 @@ public class ManagedRepositoryContentMock implements BaseRepositoryContentLayout } @Override - public boolean hasContent( ArtifactReference reference ) throws ContentAccessException - { - return false; - } - - @Override - public boolean hasContent( VersionedReference reference ) throws ContentAccessException - { - return false; - } - - @Override public void setRepository( ManagedRepository repo ) { this.repository = repo; @@ -604,12 +591,6 @@ public class ManagedRepositoryContentMock implements BaseRepositoryContentLayout return getRepoRootAsset().resolve(refs.get(reference)); } - @Override - public StorageAsset toFile( ArchivaArtifact reference ) - { - return null; - } - private String formatAsDirectory( String directory ) { return directory.replace( GROUP_SEPARATOR, PATH_SEPARATOR ); |