import org.apache.jackrabbit.webdav.DavSession;
import java.util.HashSet;
+import java.util.Set;
public class ArchivaDavSession
implements DavSession
{
- private final HashSet<String> lockTokens = new HashSet<String>();
+ private final Set<String> lockTokens = new HashSet<String>();
public void addLockToken( String token )
{
public String[] getLockTokens()
{
- return (String[]) lockTokens.toArray( new String[lockTokens.size()] );
+ return lockTokens.toArray( new String[lockTokens.size()] );
}
public void removeLockToken( String token )
writer.println( "th td:nth-child(2){width:150px;}" );
writer.println( "th td:nth-child(3){width:150px;}" );
writer.println( "</style>" );
+ writer.println( "<link rel=\"shortcut icon\" href=\"../../favicon.ico\"/>" );
writer.println( "</head>" );
writer.println( "<body>" );
writer.println( "<h3>Collection: /" + logicalResource + "</h3>" );