diff options
Diffstat (limited to 'archiva-modules/archiva-maven')
2 files changed, 0 insertions, 17 deletions
diff --git a/archiva-modules/archiva-maven/archiva-maven-proxy/src/test/java/org/apache/archiva/repository/mock/RemoteRepositoryContentMock.java b/archiva-modules/archiva-maven/archiva-maven-proxy/src/test/java/org/apache/archiva/repository/mock/RemoteRepositoryContentMock.java index 168ed3dbc..9312aaa68 100644 --- a/archiva-modules/archiva-maven/archiva-maven-proxy/src/test/java/org/apache/archiva/repository/mock/RemoteRepositoryContentMock.java +++ b/archiva-modules/archiva-maven/archiva-maven-proxy/src/test/java/org/apache/archiva/repository/mock/RemoteRepositoryContentMock.java @@ -99,9 +99,4 @@ public class RemoteRepositoryContentMock implements RemoteRepositoryContent return null; } - @Override - public RepositoryURL toURL( ArtifactReference reference ) - { - return null; - } } diff --git a/archiva-modules/archiva-maven/archiva-maven-repository/src/main/java/org/apache/archiva/repository/maven/content/RemoteDefaultRepositoryContent.java b/archiva-modules/archiva-maven/archiva-maven-repository/src/main/java/org/apache/archiva/repository/maven/content/RemoteDefaultRepositoryContent.java index ba8639b2a..532062948 100644 --- a/archiva-modules/archiva-maven/archiva-maven-repository/src/main/java/org/apache/archiva/repository/maven/content/RemoteDefaultRepositoryContent.java +++ b/archiva-modules/archiva-maven/archiva-maven-repository/src/main/java/org/apache/archiva/repository/maven/content/RemoteDefaultRepositoryContent.java @@ -18,15 +18,10 @@ package org.apache.archiva.repository.maven.content; * under the License. */ -import org.apache.archiva.repository.maven.metadata.storage.ArtifactMappingProvider; -import org.apache.archiva.model.ArtifactReference; import org.apache.archiva.model.RepositoryURL; -import org.apache.archiva.repository.LayoutException; import org.apache.archiva.repository.RemoteRepository; import org.apache.archiva.repository.RemoteRepositoryContent; -import java.util.List; - /** * RemoteDefaultRepositoryContent */ @@ -73,11 +68,4 @@ public class RemoteDefaultRepositoryContent this.repository = repository; } - @Override - public RepositoryURL toURL( ArtifactReference reference ) - { - String url = repository.getLocation( ) + toPath( reference ); - return new RepositoryURL( url ); - } - } |