diff --git a/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/ArchivaDavSession.java b/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/ArchivaDavSession.java index be23e9501..f0521e78c 100644 --- a/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/ArchivaDavSession.java +++ b/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/ArchivaDavSession.java @@ -22,11 +22,12 @@ package org.apache.archiva.webdav; import org.apache.jackrabbit.webdav.DavSession; import java.util.HashSet; +import java.util.Set; public class ArchivaDavSession implements DavSession { - private final HashSet lockTokens = new HashSet(); + private final Set lockTokens = new HashSet(); public void addLockToken( String token ) { @@ -35,7 +36,7 @@ public class ArchivaDavSession public String[] getLockTokens() { - return (String[]) lockTokens.toArray( new String[lockTokens.size()] ); + return lockTokens.toArray( new String[lockTokens.size()] ); } public void removeLockToken( String token ) diff --git a/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/util/IndexWriter.java b/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/util/IndexWriter.java index f4e21ae49..e99461543 100644 --- a/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/util/IndexWriter.java +++ b/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/util/IndexWriter.java @@ -103,6 +103,7 @@ public class IndexWriter writer.println( "th td:nth-child(2){width:150px;}" ); writer.println( "th td:nth-child(3){width:150px;}" ); writer.println( "" ); + writer.println( "" ); writer.println( "" ); writer.println( "" ); writer.println( "

Collection: /" + logicalResource + "

" );