]> source.dussan.org Git - archiva.git/commitdiff
remove non used code
authorOlivier Lamy <olamy@apache.org>
Mon, 15 Oct 2012 12:12:22 +0000 (12:12 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 15 Oct 2012 12:12:22 +0000 (12:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1398260 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/ArchivaDavResourceFactory.java

index c0144bee1b0d9825a9f49677c8329e10ba5c3fc9..974e09861932ba2cf2df19e62f81110b6851b37c 100644 (file)
@@ -312,8 +312,6 @@ public class ArchivaDavResourceFactory
             // this should only be at the project level not version level!
             if ( isProjectReference( requestedResource ) )
             {
-                String artifactId = StringUtils.substringBeforeLast( requestedResource.replace( '\\', '/' ), "/" );
-                artifactId = StringUtils.substringAfterLast( artifactId, "/" );
 
                 ArchivaDavResource res = (ArchivaDavResource) resource;
                 String filePath =