@ -16,7 +16,7 @@ import org.simpleframework.xml.core.Persister;
import java.io.StringWriter ;
import java.net.URI ;
import java.util. Linked List;
import java.util. Array List;
public class HttpPropfind extends HttpEntityEnclosingRequestBaseHC4 {
private static final String TAG = "davdroid.HttpPropfind" ;
@ -56,25 +56,25 @@ public class HttpPropfind extends HttpEntityEnclosingRequestBaseHC4 {
depth = 1 ;
propfind . prop . displayname = new DavProp . DisplayName ( ) ;
propfind . prop . resourcetype = new DavProp . ResourceType ( ) ;
propfind . prop . currentUserPrivilegeSet = new Linked List< > ( ) ;
propfind . prop . currentUserPrivilegeSet = new Array List< > ( ) ;
propfind . prop . addressbookDescription = new DavProp . AddressbookDescription ( ) ;
break ;
case CALDAV_COLLECTIONS :
depth = 1 ;
propfind . prop . displayname = new DavProp . DisplayName ( ) ;
propfind . prop . resourcetype = new DavProp . ResourceType ( ) ;
propfind . prop . currentUserPrivilegeSet = new Linked List< > ( ) ;
propfind . prop . currentUserPrivilegeSet = new Array List< > ( ) ;
propfind . prop . calendarDescription = new DavProp . CalendarDescription ( ) ;
propfind . prop . calendarColor = new DavProp . CalendarColor ( ) ;
propfind . prop . calendarTimezone = new DavProp . CalendarTimezone ( ) ;
propfind . prop . supportedCalendarComponentSet = new Linked List< > ( ) ;
propfind . prop . supportedCalendarComponentSet = new Array List< > ( ) ;
break ;
case COLLECTION_PROPERTIES :
propfind . prop . getctag = new DavProp . GetCTag ( ) ;
propfind . prop . resourcetype = new DavProp . ResourceType ( ) ;
propfind . prop . displayname = new DavProp . DisplayName ( ) ;
propfind . prop . calendarColor = new DavProp . CalendarColor ( ) ;
propfind . prop . supportedAddressData = new Linked List< > ( ) ;
propfind . prop . supportedAddressData = new Array List< > ( ) ;
break ;
case MEMBERS_ETAG :
depth = 1 ;