diff options
author | Martin Stockhammer <martin_s@apache.org> | 2020-06-03 14:21:08 +0200 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2020-06-03 14:21:08 +0200 |
commit | d8f55d0c99feccb781d0b02954023bb0af4fb35b (patch) | |
tree | f88d4fcef260732f519576747e569de7d351cc78 /archiva-modules/archiva-base/archiva-repository-scanner | |
parent | b9dd7edf9eac052e4400fd37e12b3e123b8b9f55 (diff) | |
download | archiva-d8f55d0c99feccb781d0b02954023bb0af4fb35b.tar.gz archiva-d8f55d0c99feccb781d0b02954023bb0af4fb35b.zip |
Removing old API methods for layout
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 | 56 |
1 files changed, 0 insertions, 56 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 d7d9ab46b..ecc6430eb 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 @@ -24,8 +24,6 @@ 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.ArtifactReference; -import org.apache.archiva.model.ProjectReference; -import org.apache.archiva.model.VersionedReference; import org.apache.archiva.repository.*; import org.apache.archiva.repository.content.Artifact; import org.apache.archiva.repository.content.BaseDataItemTypes; @@ -73,18 +71,6 @@ public class ManagedRepositoryContentMock implements BaseRepositoryContentLayout } @Override - public VersionedReference toVersion( String groupId, String artifactId, String version ) - { - return null; - } - - @Override - public VersionedReference toVersion( ArtifactReference artifactReference ) - { - return null; - } - - @Override public <T extends ContentItem> T adaptItem( Class<T> clazz, ContentItem item ) throws LayoutException { if (clazz.isAssignableFrom( Version.class )) @@ -308,30 +294,6 @@ public class ManagedRepositoryContentMock implements BaseRepositoryContentLayout } @Override - public void deleteArtifact( ArtifactReference artifactReference ) throws ContentNotFoundException, ContentAccessException - { - - } - - @Override - public void deleteGroupId( String groupId ) throws ContentNotFoundException, ContentAccessException - { - - } - - @Override - public void deleteProject( String namespace, String projectId ) throws ContentNotFoundException, ContentAccessException - { - - } - - @Override - public void deleteProject( ProjectReference reference ) throws ContentNotFoundException, ContentAccessException - { - - } - - @Override public String toPath( ContentItem item ) { return null; @@ -344,18 +306,6 @@ public class ManagedRepositoryContentMock implements BaseRepositoryContentLayout } @Override - public List<ArtifactReference> getRelatedArtifacts( VersionedReference reference ) throws ContentNotFoundException, LayoutException, ContentAccessException - { - return null; - } - - @Override - public List<ArtifactReference> getArtifacts( VersionedReference reference ) throws ContentNotFoundException, LayoutException, ContentAccessException - { - return null; - } - - @Override public String getRepoRoot( ) { return getRepoRootAsset().getFilePath().toString(); @@ -384,12 +334,6 @@ public class ManagedRepositoryContentMock implements BaseRepositoryContentLayout this.repository = repo; } - @Override - public StorageAsset toFile( VersionedReference reference ) - { - return null; - } - private Map<ArtifactReference, String> refs = new HashMap<>(); @Override |