diff options
author | Martin Stockhammer <martin_s@apache.org> | 2019-08-03 16:02:09 +0200 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2019-08-03 16:02:09 +0200 |
commit | 9ebf8c88809bbe9c689a0a4ac5628f92f49f152e (patch) | |
tree | c9f051590c2c05766881e70b1d068628b9d158ff /archiva-modules/archiva-web/archiva-webdav/src/main | |
parent | c56ce11c20b1963760b74e397acb200f61c1f95e (diff) | |
download | archiva-9ebf8c88809bbe9c689a0a4ac5628f92f49f152e.tar.gz archiva-9ebf8c88809bbe9c689a0a4ac5628f92f49f152e.zip |
Fixing Unit Tests
Diffstat (limited to 'archiva-modules/archiva-web/archiva-webdav/src/main')
-rw-r--r-- | archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/ArchivaDavResourceFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/ArchivaDavResourceFactory.java b/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/ArchivaDavResourceFactory.java index 4a0a548c9..ad0bb388e 100644 --- a/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/ArchivaDavResourceFactory.java +++ b/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/ArchivaDavResourceFactory.java @@ -430,7 +430,7 @@ public class ArchivaDavResourceFactory String requestedFileName = StringUtils.substringAfterLast( pathInfo, "/" ); StorageAsset temporaryIndexDirectory = buildMergedIndexDirectory( activePrincipal, request, repoGroup ); - StorageAsset asset = temporaryIndexDirectory.getStorage().getAsset(requestedFileName); + StorageAsset asset = temporaryIndexDirectory.resolve(requestedFileName); try { resource = new ArchivaDavResource( asset, requestedFileName, repoGroup, |