Commit 2d01d3b4 authored by Ricki Hirner's avatar Ricki Hirner

Make some property lists final so that they can't become null

parent aa7480cf
......@@ -26,7 +26,7 @@ import at.bitfire.dav4android.XmlUtils;
public class AddressbookHomeSet implements Property {
public static final Name NAME = new Name(XmlUtils.NS_CARDDAV, "addressbook-home-set");
public List<String> hrefs = new LinkedList<>();
public final List<String> hrefs = new LinkedList<>();
@Override
public String toString() {
......
......@@ -26,7 +26,7 @@ import at.bitfire.dav4android.XmlUtils;
public class CalendarHomeSet implements Property {
public static final Name NAME = new Name(XmlUtils.NS_CALDAV, "calendar-home-set");
public List<String> hrefs = new LinkedList<>();
public final List<String> hrefs = new LinkedList<>();
@Override
public String toString() {
......
......@@ -26,7 +26,7 @@ import at.bitfire.dav4android.XmlUtils;
public class CalendarProxyReadFor implements Property {
public static final Name NAME = new Name(XmlUtils.NS_CALENDARSERVER, "calendar-proxy-read-for");
public List<String> principals = new LinkedList<>();
public final List<String> principals = new LinkedList<>();
@Override
public String toString() {
......
......@@ -26,7 +26,7 @@ import at.bitfire.dav4android.XmlUtils;
public class CalendarProxyWriteFor implements Property {
public static final Name NAME = new Name(XmlUtils.NS_CALENDARSERVER, "calendar-proxy-write-for");
public List<String> principals = new LinkedList<>();
public final List<String> principals = new LinkedList<>();
@Override
public String toString() {
......
......@@ -26,7 +26,7 @@ import at.bitfire.dav4android.XmlUtils;
public class GroupMembership implements Property {
public static final Name NAME = new Name(XmlUtils.NS_WEBDAV, "group-membership");
public List<String> hrefs = new LinkedList<>();
public final List<String> hrefs = new LinkedList<>();
@Override
public String toString() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment