aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-maven/archiva-maven-proxy/src
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2020-06-02 16:33:20 +0200
committerMartin Stockhammer <martin_s@apache.org>2020-06-02 16:33:20 +0200
commit22a8cbfd22c8cfb33a8d4e3e82cf22a7c03df68b (patch)
treeff9558f4655cc13bd4b39505a69eabb0e8cf43f6 /archiva-modules/archiva-maven/archiva-maven-proxy/src
parent7219cf4ffcc9cba30c02fa421a1cdf9921839f33 (diff)
downloadarchiva-22a8cbfd22c8cfb33a8d4e3e82cf22a7c03df68b.tar.gz
archiva-22a8cbfd22c8cfb33a8d4e3e82cf22a7c03df68b.zip
Switching to layout interface
Diffstat (limited to 'archiva-modules/archiva-maven/archiva-maven-proxy/src')
-rw-r--r--archiva-modules/archiva-maven/archiva-maven-proxy/src/test/java/org/apache/archiva/repository/mock/ManagedRepositoryContentMock.java19
1 files changed, 0 insertions, 19 deletions
diff --git a/archiva-modules/archiva-maven/archiva-maven-proxy/src/test/java/org/apache/archiva/repository/mock/ManagedRepositoryContentMock.java b/archiva-modules/archiva-maven/archiva-maven-proxy/src/test/java/org/apache/archiva/repository/mock/ManagedRepositoryContentMock.java
index 623bf8c67..e49c913c7 100644
--- a/archiva-modules/archiva-maven/archiva-maven-proxy/src/test/java/org/apache/archiva/repository/mock/ManagedRepositoryContentMock.java
+++ b/archiva-modules/archiva-maven/archiva-maven-proxy/src/test/java/org/apache/archiva/repository/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;
@@ -398,18 +397,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;
@@ -616,12 +603,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 );