add comment

This commit is contained in:
Olivier Lamy 2014-06-11 02:46:11 +10:00
parent 7972d75082
commit 2124e24a18
1 changed files with 2 additions and 0 deletions

View File

@ -588,6 +588,8 @@ public class ArchivaDavResourceFactory
{ {
boolean readMethod = WebdavMethodUtil.isReadMethod( request.getMethod() ); boolean readMethod = WebdavMethodUtil.isReadMethod( request.getMethod() );
// Maven Centric part ask evaluation if -SNAPSHOT // Maven Centric part ask evaluation if -SNAPSHOT
// MRM-1846 test if read method to prevent issue with maven 2.2.1 and uniqueVersion false
String path = readMethod ? String path = readMethod ?
evaluatePathWithVersion( archivaLocator, managedRepositoryContent, request.getContextPath() ) evaluatePathWithVersion( archivaLocator, managedRepositoryContent, request.getContextPath() )
: getLogicalResource( archivaLocator, managedRepository, false ); : getLogicalResource( archivaLocator, managedRepository, false );