summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-webdav
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2014-09-15 14:54:08 +1000
committerOlivier Lamy <olamy@apache.org>2014-09-15 14:54:08 +1000
commitc3ef4bfbfb5ee04e5e2b48135916a50af64d4932 (patch)
tree2592a0feebc547f2c28679735799cbcaff2f66b5 /archiva-modules/archiva-web/archiva-webdav
parent6ad62d943a12127e9c6275889d61c80041251906 (diff)
downloadarchiva-c3ef4bfbfb5ee04e5e2b48135916a50af64d4932.tar.gz
archiva-c3ef4bfbfb5ee04e5e2b48135916a50af64d4932.zip
[MRM-1846] Regression in 2.0.1 : uniqueVersion false not supported
Diffstat (limited to 'archiva-modules/archiva-web/archiva-webdav')
-rw-r--r--archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/ArchivaDavResourceFactory.java7
1 files changed, 4 insertions, 3 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 375c4d83d..1e225a60a 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
@@ -557,8 +557,9 @@ public class ArchivaDavResourceFactory
return path;
}
- private String evaluatePathWithVersion( ArchivaDavResourceLocator archivaLocator,
- ManagedRepositoryContent managedRepositoryContent, String contextPath )
+ private String evaluatePathWithVersion( ArchivaDavResourceLocator archivaLocator, //
+ ManagedRepositoryContent managedRepositoryContent, //
+ String contextPath )
throws DavException
{
String layout = managedRepositoryContent.getRepository() == null
@@ -568,7 +569,7 @@ public class ArchivaDavResourceFactory
this.applicationContext.getBean( "repositoryStorage#" + layout, RepositoryStorage.class );
try
{
- return repositoryStorage.getFilePathWithVersion( archivaLocator.getResourcePath(),
+ return repositoryStorage.getFilePathWithVersion( archivaLocator.getResourcePath(), //
managedRepositoryContent );
}
catch ( RelocationException e )