diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 00000000..2e921232 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 00000000..79ee123c --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/copyright/MPL.xml b/.idea/copyright/MPL.xml new file mode 100644 index 00000000..83624274 --- /dev/null +++ b/.idea/copyright/MPL.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/.idea/copyright/profiles_settings.xml b/.idea/copyright/profiles_settings.xml new file mode 100644 index 00000000..f95e14ed --- /dev/null +++ b/.idea/copyright/profiles_settings.xml @@ -0,0 +1,14 @@ + + + + + + + + + + \ No newline at end of file diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 00000000..b10fe724 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,2 @@ +You can view the list of people who have contributed to the code base in the version control history: +https://github.com/bitfireAT/dav4jvm/graphs/contributors diff --git a/src/main/kotlin/at/bitfire/dav4jvm/BasicDigestAuthHandler.kt b/src/main/kotlin/at/bitfire/dav4jvm/BasicDigestAuthHandler.kt index 25b654af..2d72badc 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/BasicDigestAuthHandler.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/BasicDigestAuthHandler.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm diff --git a/src/main/kotlin/at/bitfire/dav4jvm/CallbackInterfaces.kt b/src/main/kotlin/at/bitfire/dav4jvm/CallbackInterfaces.kt index a781a70d..68ba2cba 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/CallbackInterfaces.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/CallbackInterfaces.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm diff --git a/src/main/kotlin/at/bitfire/dav4jvm/DavAddressBook.kt b/src/main/kotlin/at/bitfire/dav4jvm/DavAddressBook.kt index cc460f77..9042257a 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/DavAddressBook.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/DavAddressBook.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm diff --git a/src/main/kotlin/at/bitfire/dav4jvm/DavCalendar.kt b/src/main/kotlin/at/bitfire/dav4jvm/DavCalendar.kt index 68abc6a7..7a8a176a 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/DavCalendar.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/DavCalendar.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm diff --git a/src/main/kotlin/at/bitfire/dav4jvm/DavCollection.kt b/src/main/kotlin/at/bitfire/dav4jvm/DavCollection.kt index bfa29f0a..b2407dca 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/DavCollection.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/DavCollection.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm diff --git a/src/main/kotlin/at/bitfire/dav4jvm/DavResource.kt b/src/main/kotlin/at/bitfire/dav4jvm/DavResource.kt index ed30fa9b..660c06ae 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/DavResource.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/DavResource.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm diff --git a/src/main/kotlin/at/bitfire/dav4jvm/Error.kt b/src/main/kotlin/at/bitfire/dav4jvm/Error.kt index 43f5ba74..6a818e81 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/Error.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/Error.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm diff --git a/src/main/kotlin/at/bitfire/dav4jvm/HttpUtils.kt b/src/main/kotlin/at/bitfire/dav4jvm/HttpUtils.kt index 268f5ae1..f6069a3c 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/HttpUtils.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/HttpUtils.kt @@ -1,11 +1,16 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm +import at.bitfire.dav4jvm.HttpUtils.httpDateFormat import okhttp3.HttpUrl import okhttp3.Response import java.time.Instant diff --git a/src/main/kotlin/at/bitfire/dav4jvm/PropStat.kt b/src/main/kotlin/at/bitfire/dav4jvm/PropStat.kt index 801f885b..ed1d655b 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/PropStat.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/PropStat.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm diff --git a/src/main/kotlin/at/bitfire/dav4jvm/Property.kt b/src/main/kotlin/at/bitfire/dav4jvm/Property.kt index e03a503e..7b0452e5 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/Property.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/Property.kt @@ -1,17 +1,21 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm import at.bitfire.dav4jvm.exception.InvalidPropertyException +import org.xmlpull.v1.XmlPullParser import java.io.Serializable import java.util.LinkedList import java.util.logging.Level import java.util.logging.Logger -import org.xmlpull.v1.XmlPullParser /** * Represents a WebDAV property. diff --git a/src/main/kotlin/at/bitfire/dav4jvm/PropertyFactory.kt b/src/main/kotlin/at/bitfire/dav4jvm/PropertyFactory.kt index 1deaaac2..b17617d7 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/PropertyFactory.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/PropertyFactory.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm diff --git a/src/main/kotlin/at/bitfire/dav4jvm/PropertyRegistry.kt b/src/main/kotlin/at/bitfire/dav4jvm/PropertyRegistry.kt index ff6ebbd2..cae12799 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/PropertyRegistry.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/PropertyRegistry.kt @@ -1,22 +1,59 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm -import at.bitfire.dav4jvm.property.caldav.* +import at.bitfire.dav4jvm.property.caldav.CalendarColor +import at.bitfire.dav4jvm.property.caldav.CalendarData +import at.bitfire.dav4jvm.property.caldav.CalendarDescription +import at.bitfire.dav4jvm.property.caldav.CalendarHomeSet +import at.bitfire.dav4jvm.property.caldav.CalendarProxyReadFor +import at.bitfire.dav4jvm.property.caldav.CalendarProxyWriteFor +import at.bitfire.dav4jvm.property.caldav.CalendarTimezone +import at.bitfire.dav4jvm.property.caldav.CalendarTimezoneId +import at.bitfire.dav4jvm.property.caldav.CalendarUserAddressSet +import at.bitfire.dav4jvm.property.caldav.GetCTag +import at.bitfire.dav4jvm.property.caldav.ScheduleTag +import at.bitfire.dav4jvm.property.caldav.Source +import at.bitfire.dav4jvm.property.caldav.SupportedCalendarComponentSet +import at.bitfire.dav4jvm.property.caldav.SupportedCalendarData import at.bitfire.dav4jvm.property.carddav.AddressData import at.bitfire.dav4jvm.property.carddav.AddressbookDescription import at.bitfire.dav4jvm.property.carddav.AddressbookHomeSet import at.bitfire.dav4jvm.property.carddav.SupportedAddressData -import at.bitfire.dav4jvm.property.push.* -import at.bitfire.dav4jvm.property.webdav.* -import java.util.logging.Level -import java.util.logging.Logger +import at.bitfire.dav4jvm.property.push.PushMessage +import at.bitfire.dav4jvm.property.push.PushRegister +import at.bitfire.dav4jvm.property.push.PushTransports +import at.bitfire.dav4jvm.property.push.Subscription +import at.bitfire.dav4jvm.property.push.Topic +import at.bitfire.dav4jvm.property.push.WebPushSubscription +import at.bitfire.dav4jvm.property.webdav.AddMember +import at.bitfire.dav4jvm.property.webdav.CreationDate +import at.bitfire.dav4jvm.property.webdav.CurrentUserPrincipal +import at.bitfire.dav4jvm.property.webdav.CurrentUserPrivilegeSet +import at.bitfire.dav4jvm.property.webdav.DisplayName +import at.bitfire.dav4jvm.property.webdav.GetContentLength +import at.bitfire.dav4jvm.property.webdav.GetContentType +import at.bitfire.dav4jvm.property.webdav.GetETag +import at.bitfire.dav4jvm.property.webdav.GetLastModified +import at.bitfire.dav4jvm.property.webdav.GroupMembership +import at.bitfire.dav4jvm.property.webdav.Owner +import at.bitfire.dav4jvm.property.webdav.QuotaAvailableBytes +import at.bitfire.dav4jvm.property.webdav.QuotaUsedBytes +import at.bitfire.dav4jvm.property.webdav.ResourceType +import at.bitfire.dav4jvm.property.webdav.SupportedReportSet +import at.bitfire.dav4jvm.property.webdav.SyncToken import org.xmlpull.v1.XmlPullParser import org.xmlpull.v1.XmlPullParserException +import java.util.logging.Level +import java.util.logging.Logger object PropertyRegistry { diff --git a/src/main/kotlin/at/bitfire/dav4jvm/QuotedStringUtils.kt b/src/main/kotlin/at/bitfire/dav4jvm/QuotedStringUtils.kt index e3a516e8..e95514c7 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/QuotedStringUtils.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/QuotedStringUtils.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm diff --git a/src/main/kotlin/at/bitfire/dav4jvm/Response.kt b/src/main/kotlin/at/bitfire/dav4jvm/Response.kt index 48547469..6a474ef8 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/Response.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/Response.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm diff --git a/src/main/kotlin/at/bitfire/dav4jvm/UrlUtils.kt b/src/main/kotlin/at/bitfire/dav4jvm/UrlUtils.kt index 84876bf6..029ad643 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/UrlUtils.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/UrlUtils.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm diff --git a/src/main/kotlin/at/bitfire/dav4jvm/XmlReader.kt b/src/main/kotlin/at/bitfire/dav4jvm/XmlReader.kt index ebaf70db..019554b1 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/XmlReader.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/XmlReader.kt @@ -1,3 +1,13 @@ +/* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 + */ + package at.bitfire.dav4jvm import at.bitfire.dav4jvm.XmlUtils.propertyName diff --git a/src/main/kotlin/at/bitfire/dav4jvm/XmlUtils.kt b/src/main/kotlin/at/bitfire/dav4jvm/XmlUtils.kt index 454fec7b..035261fd 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/XmlUtils.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/XmlUtils.kt @@ -1,11 +1,16 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm +import at.bitfire.dav4jvm.XmlUtils.FEATURE_RELAXED import at.bitfire.dav4jvm.exception.DavException import org.xmlpull.v1.XmlPullParser import org.xmlpull.v1.XmlPullParserException diff --git a/src/main/kotlin/at/bitfire/dav4jvm/exception/ConflictException.kt b/src/main/kotlin/at/bitfire/dav4jvm/exception/ConflictException.kt index 2477a77b..03e52c46 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/exception/ConflictException.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/exception/ConflictException.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.exception diff --git a/src/main/kotlin/at/bitfire/dav4jvm/exception/DavException.kt b/src/main/kotlin/at/bitfire/dav4jvm/exception/DavException.kt index 78a81a58..19e8042c 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/exception/DavException.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/exception/DavException.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.exception @@ -9,6 +13,7 @@ package at.bitfire.dav4jvm.exception import at.bitfire.dav4jvm.Error import at.bitfire.dav4jvm.XmlUtils import at.bitfire.dav4jvm.XmlUtils.propertyName +import at.bitfire.dav4jvm.exception.DavException.Companion.MAX_EXCERPT_SIZE import okhttp3.MediaType import okhttp3.Response import okio.Buffer diff --git a/src/main/kotlin/at/bitfire/dav4jvm/exception/ForbiddenException.kt b/src/main/kotlin/at/bitfire/dav4jvm/exception/ForbiddenException.kt index 23580a82..884cc004 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/exception/ForbiddenException.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/exception/ForbiddenException.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.exception diff --git a/src/main/kotlin/at/bitfire/dav4jvm/exception/GoneException.kt b/src/main/kotlin/at/bitfire/dav4jvm/exception/GoneException.kt index 01460f51..0cbd9b3b 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/exception/GoneException.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/exception/GoneException.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.exception diff --git a/src/main/kotlin/at/bitfire/dav4jvm/exception/HttpException.kt b/src/main/kotlin/at/bitfire/dav4jvm/exception/HttpException.kt index 97422fa3..08534a49 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/exception/HttpException.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/exception/HttpException.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.exception diff --git a/src/main/kotlin/at/bitfire/dav4jvm/exception/InvalidPropertyException.kt b/src/main/kotlin/at/bitfire/dav4jvm/exception/InvalidPropertyException.kt index fa626f7a..bdda00e5 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/exception/InvalidPropertyException.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/exception/InvalidPropertyException.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.exception diff --git a/src/main/kotlin/at/bitfire/dav4jvm/exception/NotFoundException.kt b/src/main/kotlin/at/bitfire/dav4jvm/exception/NotFoundException.kt index 12775300..d04c0ac9 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/exception/NotFoundException.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/exception/NotFoundException.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.exception diff --git a/src/main/kotlin/at/bitfire/dav4jvm/exception/PreconditionFailedException.kt b/src/main/kotlin/at/bitfire/dav4jvm/exception/PreconditionFailedException.kt index 9e980e67..67607369 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/exception/PreconditionFailedException.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/exception/PreconditionFailedException.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.exception diff --git a/src/main/kotlin/at/bitfire/dav4jvm/exception/ServiceUnavailableException.kt b/src/main/kotlin/at/bitfire/dav4jvm/exception/ServiceUnavailableException.kt index 37e91679..0665fc07 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/exception/ServiceUnavailableException.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/exception/ServiceUnavailableException.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.exception diff --git a/src/main/kotlin/at/bitfire/dav4jvm/exception/UnauthorizedException.kt b/src/main/kotlin/at/bitfire/dav4jvm/exception/UnauthorizedException.kt index cd3d0ebf..98a61837 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/exception/UnauthorizedException.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/exception/UnauthorizedException.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.exception diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarColor.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarColor.kt index 52588fa0..996fc64c 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarColor.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarColor.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.caldav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarData.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarData.kt index b287c2f2..55867f93 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarData.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarData.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.caldav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarDescription.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarDescription.kt index 2afc4d8e..2d5cf96b 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarDescription.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarDescription.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.caldav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarHomeSet.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarHomeSet.kt index ee9b609b..faa47fef 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarHomeSet.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarHomeSet.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.caldav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarProxyReadFor.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarProxyReadFor.kt index 5a33c5c4..4f9ce632 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarProxyReadFor.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarProxyReadFor.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.caldav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarProxyWriteFor.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarProxyWriteFor.kt index cc0beb78..6cbb8033 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarProxyWriteFor.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarProxyWriteFor.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.caldav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarTimezone.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarTimezone.kt index 6ef66f83..4475cbbb 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarTimezone.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarTimezone.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.caldav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarTimezoneId.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarTimezoneId.kt index 327ec0d4..d8a91b27 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarTimezoneId.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarTimezoneId.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.caldav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarUserAddressSet.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarUserAddressSet.kt index 7a34e6fc..c1b002f4 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarUserAddressSet.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/CalendarUserAddressSet.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.caldav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/GetCTag.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/GetCTag.kt index 13204b6b..14d10673 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/GetCTag.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/GetCTag.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.caldav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/MaxResourceSize.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/MaxResourceSize.kt index cec5afc0..334d4b33 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/MaxResourceSize.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/MaxResourceSize.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.caldav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/ScheduleTag.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/ScheduleTag.kt index e1a254f8..3aaaa172 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/ScheduleTag.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/ScheduleTag.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.caldav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/Source.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/Source.kt index f7620df9..8231c307 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/Source.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/Source.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.caldav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/SupportedCalendarComponentSet.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/SupportedCalendarComponentSet.kt index c906007a..eb977b42 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/SupportedCalendarComponentSet.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/SupportedCalendarComponentSet.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.caldav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/SupportedCalendarData.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/SupportedCalendarData.kt index 7b1e821d..40401c9e 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/SupportedCalendarData.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/SupportedCalendarData.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.caldav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/namespace.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/namespace.kt index 3caf67d1..1f84362d 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/namespace.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/caldav/namespace.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.caldav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/carddav/AddressData.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/carddav/AddressData.kt index 7cc77890..08260790 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/carddav/AddressData.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/carddav/AddressData.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.carddav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/carddav/AddressbookDescription.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/carddav/AddressbookDescription.kt index a5753581..09d4d83e 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/carddav/AddressbookDescription.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/carddav/AddressbookDescription.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.carddav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/carddav/AddressbookHomeSet.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/carddav/AddressbookHomeSet.kt index c7be0bdc..7ca884d8 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/carddav/AddressbookHomeSet.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/carddav/AddressbookHomeSet.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.carddav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/carddav/MaxResourceSize.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/carddav/MaxResourceSize.kt index 53e51c2d..738902bf 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/carddav/MaxResourceSize.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/carddav/MaxResourceSize.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.carddav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/carddav/SupportedAddressData.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/carddav/SupportedAddressData.kt index 78b79dea..e30960bb 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/carddav/SupportedAddressData.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/carddav/SupportedAddressData.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.carddav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/carddav/namespace.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/carddav/namespace.kt index d22c63b6..c5f98463 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/carddav/namespace.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/carddav/namespace.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.carddav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/push/AuthSecret.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/push/AuthSecret.kt index e4297097..aa925ea5 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/push/AuthSecret.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/push/AuthSecret.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.push diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/push/ContentUpdate.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/push/ContentUpdate.kt index 70e2aa94..0bafa8d2 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/push/ContentUpdate.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/push/ContentUpdate.kt @@ -1,3 +1,13 @@ +/* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 + */ + package at.bitfire.dav4jvm.property.push import at.bitfire.dav4jvm.Property diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/push/PropertyUpdate.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/push/PropertyUpdate.kt index 12ae46ae..ae2411c7 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/push/PropertyUpdate.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/push/PropertyUpdate.kt @@ -1,3 +1,13 @@ +/* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 + */ + package at.bitfire.dav4jvm.property.push import at.bitfire.dav4jvm.Property diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/push/PushMessage.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/push/PushMessage.kt index 45f2670d..baa03b00 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/push/PushMessage.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/push/PushMessage.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.push diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/push/PushRegister.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/push/PushRegister.kt index 8b9dc5cc..0aa73c76 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/push/PushRegister.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/push/PushRegister.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.push @@ -11,8 +15,8 @@ import at.bitfire.dav4jvm.Property import at.bitfire.dav4jvm.PropertyFactory import at.bitfire.dav4jvm.XmlReader import at.bitfire.dav4jvm.XmlUtils.propertyName -import java.time.Instant import org.xmlpull.v1.XmlPullParser +import java.time.Instant /** * Represents a [NS_WEBDAV_PUSH]`:push-register` property. diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/push/PushResource.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/push/PushResource.kt index 2b2b800c..aa17f6d4 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/push/PushResource.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/push/PushResource.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.push diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/push/PushTransport.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/push/PushTransport.kt index ff0c5dcf..c0a774bb 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/push/PushTransport.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/push/PushTransport.kt @@ -1,3 +1,13 @@ +/* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 + */ + package at.bitfire.dav4jvm.property.push import at.bitfire.dav4jvm.Property diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/push/PushTransports.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/push/PushTransports.kt index 8f25d2a5..20579052 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/push/PushTransports.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/push/PushTransports.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.push diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/push/Subscription.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/push/Subscription.kt index b88967a0..4a56cf69 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/push/Subscription.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/push/Subscription.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.push diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/push/SubscriptionPublicKey.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/push/SubscriptionPublicKey.kt index 1f072b7f..7a215f98 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/push/SubscriptionPublicKey.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/push/SubscriptionPublicKey.kt @@ -1,3 +1,13 @@ +/* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 + */ + package at.bitfire.dav4jvm.property.push import at.bitfire.dav4jvm.Property diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/push/SupportedTriggers.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/push/SupportedTriggers.kt index 7a9a0720..277c7b13 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/push/SupportedTriggers.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/push/SupportedTriggers.kt @@ -1,3 +1,13 @@ +/* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 + */ + package at.bitfire.dav4jvm.property.push import at.bitfire.dav4jvm.Property diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/push/Topic.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/push/Topic.kt index 23dc8655..440af99e 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/push/Topic.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/push/Topic.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.push diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/push/Trigger.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/push/Trigger.kt index 551db277..30d8e51d 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/push/Trigger.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/push/Trigger.kt @@ -1,3 +1,13 @@ +/* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 + */ + package at.bitfire.dav4jvm.property.push import at.bitfire.dav4jvm.Property diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/push/VapidPublicKey.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/push/VapidPublicKey.kt index 6c5c9e3e..09da8692 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/push/VapidPublicKey.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/push/VapidPublicKey.kt @@ -1,3 +1,13 @@ +/* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 + */ + package at.bitfire.dav4jvm.property.push import at.bitfire.dav4jvm.Property diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/push/WebPush.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/push/WebPush.kt index b99cecb7..0179a242 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/push/WebPush.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/push/WebPush.kt @@ -1,3 +1,13 @@ +/* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 + */ + package at.bitfire.dav4jvm.property.push import at.bitfire.dav4jvm.Property diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/push/WebPushSubscription.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/push/WebPushSubscription.kt index d979b5cb..b4e25867 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/push/WebPushSubscription.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/push/WebPushSubscription.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.push diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/push/namespace.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/push/namespace.kt index 9ff12144..f4a3bd94 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/push/namespace.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/push/namespace.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.push diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/AddMember.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/AddMember.kt index 34eaeb24..beccd4ce 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/AddMember.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/AddMember.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.webdav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/CreationDate.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/CreationDate.kt index f7ed594f..14aaf5dd 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/CreationDate.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/CreationDate.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.webdav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/CurrentUserPrincipal.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/CurrentUserPrincipal.kt index 4b44870e..7aa1d308 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/CurrentUserPrincipal.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/CurrentUserPrincipal.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.webdav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/CurrentUserPrivilegeSet.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/CurrentUserPrivilegeSet.kt index b5e83496..d320db63 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/CurrentUserPrivilegeSet.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/CurrentUserPrivilegeSet.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.webdav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/Depth.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/Depth.kt index a62a94cb..b8e897e1 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/Depth.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/Depth.kt @@ -1,3 +1,13 @@ +/* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 + */ + package at.bitfire.dav4jvm.property.webdav import at.bitfire.dav4jvm.Property diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/DisplayName.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/DisplayName.kt index d067cfe7..09875cfb 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/DisplayName.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/DisplayName.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.webdav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/GetContentLength.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/GetContentLength.kt index 2cb599a7..dbc9a51c 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/GetContentLength.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/GetContentLength.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.webdav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/GetContentType.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/GetContentType.kt index 62c3433d..71ca6199 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/GetContentType.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/GetContentType.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.webdav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/GetETag.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/GetETag.kt index fca84e72..ed9b84b5 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/GetETag.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/GetETag.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.webdav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/GetLastModified.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/GetLastModified.kt index abd22eb8..2bdd3316 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/GetLastModified.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/GetLastModified.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.webdav @@ -9,8 +13,8 @@ package at.bitfire.dav4jvm.property.webdav import at.bitfire.dav4jvm.Property import at.bitfire.dav4jvm.PropertyFactory import at.bitfire.dav4jvm.XmlReader -import java.time.Instant import org.xmlpull.v1.XmlPullParser +import java.time.Instant data class GetLastModified( val lastModified: Instant? diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/GroupMembership.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/GroupMembership.kt index 7e36bfb4..7d21bfbd 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/GroupMembership.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/GroupMembership.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.webdav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/HrefListProperty.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/HrefListProperty.kt index d0048aff..c28e0413 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/HrefListProperty.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/HrefListProperty.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.webdav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/Owner.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/Owner.kt index e7ada5e6..2b5d2e27 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/Owner.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/Owner.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.webdav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/QuotaAvailableBytes.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/QuotaAvailableBytes.kt index e8184bb7..cf3ed2e6 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/QuotaAvailableBytes.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/QuotaAvailableBytes.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.webdav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/QuotaUsedBytes.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/QuotaUsedBytes.kt index 603192b4..1e950769 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/QuotaUsedBytes.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/QuotaUsedBytes.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.webdav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/ResourceType.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/ResourceType.kt index e41bdc62..b2a2e9d8 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/ResourceType.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/ResourceType.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.webdav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/SupportedReportSet.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/SupportedReportSet.kt index cf390c00..2be1b84c 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/SupportedReportSet.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/SupportedReportSet.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.webdav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/SyncLevel.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/SyncLevel.kt index a750721b..8fdbad09 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/SyncLevel.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/SyncLevel.kt @@ -1,3 +1,13 @@ +/* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 + */ + package at.bitfire.dav4jvm.property.webdav import at.bitfire.dav4jvm.Property diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/SyncToken.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/SyncToken.kt index 0138ecb6..4685ba0a 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/SyncToken.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/SyncToken.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.webdav diff --git a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/namespace.kt b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/namespace.kt index 4f1107f1..6659a63a 100644 --- a/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/namespace.kt +++ b/src/main/kotlin/at/bitfire/dav4jvm/property/webdav/namespace.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.property.webdav diff --git a/src/test/kotlin/at/bitfire/dav4jvm/BasicDigestAuthHandlerTest.kt b/src/test/kotlin/at/bitfire/dav4jvm/BasicDigestAuthHandlerTest.kt index 9cc858a6..00185e46 100644 --- a/src/test/kotlin/at/bitfire/dav4jvm/BasicDigestAuthHandlerTest.kt +++ b/src/test/kotlin/at/bitfire/dav4jvm/BasicDigestAuthHandlerTest.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm @@ -11,7 +15,6 @@ import okhttp3.MediaType.Companion.toMediaType import okhttp3.Protocol import okhttp3.Request import okhttp3.RequestBody.Companion.toRequestBody -import okhttp3.Response import okhttp3.Response.Builder import org.junit.Assert.assertEquals import org.junit.Assert.assertFalse diff --git a/src/test/kotlin/at/bitfire/dav4jvm/DavCalendarTest.kt b/src/test/kotlin/at/bitfire/dav4jvm/DavCalendarTest.kt index bac958c9..46726130 100644 --- a/src/test/kotlin/at/bitfire/dav4jvm/DavCalendarTest.kt +++ b/src/test/kotlin/at/bitfire/dav4jvm/DavCalendarTest.kt @@ -1,3 +1,13 @@ +/* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 + */ + package at.bitfire.dav4jvm import okhttp3.OkHttpClient diff --git a/src/test/kotlin/at/bitfire/dav4jvm/DavCollectionTest.kt b/src/test/kotlin/at/bitfire/dav4jvm/DavCollectionTest.kt index c532cbd8..e6623030 100644 --- a/src/test/kotlin/at/bitfire/dav4jvm/DavCollectionTest.kt +++ b/src/test/kotlin/at/bitfire/dav4jvm/DavCollectionTest.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm diff --git a/src/test/kotlin/at/bitfire/dav4jvm/DavResourceTest.kt b/src/test/kotlin/at/bitfire/dav4jvm/DavResourceTest.kt index 1e3727a4..fdc73e9a 100644 --- a/src/test/kotlin/at/bitfire/dav4jvm/DavResourceTest.kt +++ b/src/test/kotlin/at/bitfire/dav4jvm/DavResourceTest.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm @@ -13,7 +17,6 @@ import at.bitfire.dav4jvm.property.webdav.DisplayName import at.bitfire.dav4jvm.property.webdav.GetContentType import at.bitfire.dav4jvm.property.webdav.GetETag import at.bitfire.dav4jvm.property.webdav.ResourceType -import java.net.HttpURLConnection import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.MediaType.Companion.toMediaType import okhttp3.OkHttpClient @@ -31,6 +34,7 @@ import org.junit.Assert.assertTrue import org.junit.Assert.fail import org.junit.Before import org.junit.Test +import java.net.HttpURLConnection class DavResourceTest { diff --git a/src/test/kotlin/at/bitfire/dav4jvm/ErrorTest.kt b/src/test/kotlin/at/bitfire/dav4jvm/ErrorTest.kt index 8fc47c6b..04ff6bf8 100644 --- a/src/test/kotlin/at/bitfire/dav4jvm/ErrorTest.kt +++ b/src/test/kotlin/at/bitfire/dav4jvm/ErrorTest.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm diff --git a/src/test/kotlin/at/bitfire/dav4jvm/HttpUtilsTest.kt b/src/test/kotlin/at/bitfire/dav4jvm/HttpUtilsTest.kt index a4d089d6..90068279 100644 --- a/src/test/kotlin/at/bitfire/dav4jvm/HttpUtilsTest.kt +++ b/src/test/kotlin/at/bitfire/dav4jvm/HttpUtilsTest.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm diff --git a/src/test/kotlin/at/bitfire/dav4jvm/PropertyTest.kt b/src/test/kotlin/at/bitfire/dav4jvm/PropertyTest.kt index 6ec8bf6f..6da256b7 100644 --- a/src/test/kotlin/at/bitfire/dav4jvm/PropertyTest.kt +++ b/src/test/kotlin/at/bitfire/dav4jvm/PropertyTest.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm diff --git a/src/test/kotlin/at/bitfire/dav4jvm/QuotedStringUtilsTest.kt b/src/test/kotlin/at/bitfire/dav4jvm/QuotedStringUtilsTest.kt index 7e7aa6c6..62a22ffa 100644 --- a/src/test/kotlin/at/bitfire/dav4jvm/QuotedStringUtilsTest.kt +++ b/src/test/kotlin/at/bitfire/dav4jvm/QuotedStringUtilsTest.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm diff --git a/src/test/kotlin/at/bitfire/dav4jvm/UrlUtilsTest.kt b/src/test/kotlin/at/bitfire/dav4jvm/UrlUtilsTest.kt index 4816481e..c468ccc4 100644 --- a/src/test/kotlin/at/bitfire/dav4jvm/UrlUtilsTest.kt +++ b/src/test/kotlin/at/bitfire/dav4jvm/UrlUtilsTest.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm diff --git a/src/test/kotlin/at/bitfire/dav4jvm/XmlReaderTest.kt b/src/test/kotlin/at/bitfire/dav4jvm/XmlReaderTest.kt index 04c5647d..a3f3b106 100644 --- a/src/test/kotlin/at/bitfire/dav4jvm/XmlReaderTest.kt +++ b/src/test/kotlin/at/bitfire/dav4jvm/XmlReaderTest.kt @@ -1,8 +1,20 @@ +/* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 + */ + package at.bitfire.dav4jvm import okhttp3.MediaType import okhttp3.MediaType.Companion.toMediaType -import org.junit.Assert.* +import org.junit.Assert.assertEquals +import org.junit.Assert.assertNull +import org.junit.Assert.assertTrue import org.junit.Test import org.xmlpull.v1.XmlPullParser import java.io.StringReader diff --git a/src/test/kotlin/at/bitfire/dav4jvm/exception/DavExceptionTest.kt b/src/test/kotlin/at/bitfire/dav4jvm/exception/DavExceptionTest.kt index 94a8adf0..a0385cf4 100644 --- a/src/test/kotlin/at/bitfire/dav4jvm/exception/DavExceptionTest.kt +++ b/src/test/kotlin/at/bitfire/dav4jvm/exception/DavExceptionTest.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.exception diff --git a/src/test/kotlin/at/bitfire/dav4jvm/exception/HttpExceptionTest.kt b/src/test/kotlin/at/bitfire/dav4jvm/exception/HttpExceptionTest.kt index f66a4cf1..b2298a7b 100644 --- a/src/test/kotlin/at/bitfire/dav4jvm/exception/HttpExceptionTest.kt +++ b/src/test/kotlin/at/bitfire/dav4jvm/exception/HttpExceptionTest.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.exception diff --git a/src/test/kotlin/at/bitfire/dav4jvm/exception/ServiceUnavailableExceptionTest.kt b/src/test/kotlin/at/bitfire/dav4jvm/exception/ServiceUnavailableExceptionTest.kt index b8a51731..c214d321 100644 --- a/src/test/kotlin/at/bitfire/dav4jvm/exception/ServiceUnavailableExceptionTest.kt +++ b/src/test/kotlin/at/bitfire/dav4jvm/exception/ServiceUnavailableExceptionTest.kt @@ -1,7 +1,11 @@ /* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 */ package at.bitfire.dav4jvm.exception diff --git a/src/test/kotlin/at/bitfire/dav4jvm/property/CalendarDescriptionTest.kt b/src/test/kotlin/at/bitfire/dav4jvm/property/CalendarDescriptionTest.kt index 3098f6b7..f3edb9cf 100644 --- a/src/test/kotlin/at/bitfire/dav4jvm/property/CalendarDescriptionTest.kt +++ b/src/test/kotlin/at/bitfire/dav4jvm/property/CalendarDescriptionTest.kt @@ -1,3 +1,13 @@ +/* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 + */ + package at.bitfire.dav4jvm.property import at.bitfire.dav4jvm.property.caldav.CalendarDescription diff --git a/src/test/kotlin/at/bitfire/dav4jvm/property/GetETagTest.kt b/src/test/kotlin/at/bitfire/dav4jvm/property/GetETagTest.kt index 259a8698..4253ea65 100644 --- a/src/test/kotlin/at/bitfire/dav4jvm/property/GetETagTest.kt +++ b/src/test/kotlin/at/bitfire/dav4jvm/property/GetETagTest.kt @@ -1,3 +1,13 @@ +/* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 + */ + package at.bitfire.dav4jvm.property import at.bitfire.dav4jvm.property.webdav.GetETag diff --git a/src/test/kotlin/at/bitfire/dav4jvm/property/OwnerTest.kt b/src/test/kotlin/at/bitfire/dav4jvm/property/OwnerTest.kt index 3f23983b..e5b5738a 100644 --- a/src/test/kotlin/at/bitfire/dav4jvm/property/OwnerTest.kt +++ b/src/test/kotlin/at/bitfire/dav4jvm/property/OwnerTest.kt @@ -1,3 +1,13 @@ +/* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 + */ + package at.bitfire.dav4jvm.property import at.bitfire.dav4jvm.property.webdav.Owner diff --git a/src/test/kotlin/at/bitfire/dav4jvm/property/PropertyTest.kt b/src/test/kotlin/at/bitfire/dav4jvm/property/PropertyTest.kt index 29d88de1..04427f85 100644 --- a/src/test/kotlin/at/bitfire/dav4jvm/property/PropertyTest.kt +++ b/src/test/kotlin/at/bitfire/dav4jvm/property/PropertyTest.kt @@ -1,3 +1,13 @@ +/* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 + */ + package at.bitfire.dav4jvm.property import at.bitfire.dav4jvm.Property diff --git a/src/test/kotlin/at/bitfire/dav4jvm/property/push/WebPushTest.kt b/src/test/kotlin/at/bitfire/dav4jvm/property/push/WebPushTest.kt index c94e7fbd..83f2bdbf 100644 --- a/src/test/kotlin/at/bitfire/dav4jvm/property/push/WebPushTest.kt +++ b/src/test/kotlin/at/bitfire/dav4jvm/property/push/WebPushTest.kt @@ -1,11 +1,21 @@ +/* + * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * + * SPDX-License-Identifier: MPL-2.0 + */ + package at.bitfire.dav4jvm.property.push import at.bitfire.dav4jvm.property.PropertyTest -import java.time.Instant import org.junit.Assert.assertEquals import org.junit.Assert.assertNotNull import org.junit.Assert.assertTrue import org.junit.Test +import java.time.Instant class WebPushTest: PropertyTest() {