aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-maven
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2020-06-16 08:05:52 +0200
committerMartin Stockhammer <martin_s@apache.org>2020-06-16 08:05:52 +0200
commitfbca0e89f9db5d20dcb096d2fbf7391160f48fd2 (patch)
tree37bc779c48ea3bcdcb57a60fe24724da07a09188 /archiva-modules/archiva-maven
parent628e67094518645923c0b12504cf6925b9e2c839 (diff)
downloadarchiva-fbca0e89f9db5d20dcb096d2fbf7391160f48fd2.tar.gz
archiva-fbca0e89f9db5d20dcb096d2fbf7391160f48fd2.zip
API cleanup
Diffstat (limited to 'archiva-modules/archiva-maven')
-rw-r--r--archiva-modules/archiva-maven/archiva-maven-proxy/src/test/java/org/apache/archiva/repository/mock/RemoteRepositoryContentMock.java5
-rw-r--r--archiva-modules/archiva-maven/archiva-maven-repository/src/main/java/org/apache/archiva/repository/maven/content/RemoteDefaultRepositoryContent.java12
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 );
- }
-
}