diff options
author | Martin Stockhammer <martin_s@apache.org> | 2020-06-04 20:15:38 +0200 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2020-06-04 20:15:38 +0200 |
commit | 6c519af1f01f19e0fc55e1a4bd3c775f20f591dc (patch) | |
tree | 388248fce9c324d1921cf1e2205513ef1ae3ea89 /archiva-modules/archiva-base/archiva-repository-layer | |
parent | de76d28cabf469eefba38a8c533c7d0b7f7e76dc (diff) | |
download | archiva-6c519af1f01f19e0fc55e1a4bd3c775f20f591dc.tar.gz archiva-6c519af1f01f19e0fc55e1a4bd3c775f20f591dc.zip |
Removing redundant method for root dir
Diffstat (limited to 'archiva-modules/archiva-base/archiva-repository-layer')
2 files changed, 0 insertions, 15 deletions
diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/base/AbstractRemoteRepository.java b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/base/AbstractRemoteRepository.java index b53997eb0..51d7a98da 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/base/AbstractRemoteRepository.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/base/AbstractRemoteRepository.java @@ -25,7 +25,6 @@ import org.apache.archiva.repository.RemoteRepositoryContent; import org.apache.archiva.repository.RepositoryCredentials; import org.apache.archiva.repository.RepositoryType; import org.apache.archiva.repository.storage.RepositoryStorage; -import org.apache.archiva.repository.storage.StorageAsset; import java.net.URI; import java.time.Duration; @@ -146,15 +145,6 @@ public abstract class AbstractRemoteRepository extends AbstractRepository implem return timeout; } - /** - * Remote repositories resolve always relative to the base directory. - * @return - */ - @Override - public StorageAsset getLocalPath() { - return getStorage().getRoot(); - } - @Override public String toString() { StringBuilder str = new StringBuilder(); diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/base/AbstractRepository.java b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/base/AbstractRepository.java index 6fb6a2f90..843045071 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/base/AbstractRepository.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/base/AbstractRepository.java @@ -161,11 +161,6 @@ public abstract class AbstractRepository implements EditableRepository, EventHan } @Override - public StorageAsset getLocalPath() { - return storage.getRoot( ); - } - - @Override public StorageAsset getRoot( ) { return storage.getRoot( ); |