Commit deb59c16 authored by Ricki Hirner's avatar Ricki Hirner

Accept URL lists instead of Arrays

parent 8ab18b86
Pipeline #10025112 passed with stage
in 2 minutes and 19 seconds
buildscript {
ext.kotlin_version = '1.1.3'
ext.kotlin_version = '1.1.3-2'
repositories {
jcenter()
......
......@@ -80,7 +80,7 @@ class DavAddressBook @JvmOverloads constructor(
* @throws DavException on DAV error
*/
@Throws(IOException::class, HttpException::class, DavException::class)
fun multiget(urls: Array<HttpUrl>, vCard4: Boolean) {
fun multiget(urls: List<HttpUrl>, vCard4: Boolean) {
/* <!ELEMENT addressbook-multiget ((DAV:allprop |
DAV:propname |
DAV:prop)?,
......
......@@ -101,7 +101,7 @@ class DavCalendar @JvmOverloads constructor(
* @throws DavException on DAV error
*/
@Throws(IOException::class, HttpException::class, DavException::class)
fun multiget(urls: Array<HttpUrl>) {
fun multiget(urls: List<HttpUrl>) {
/* <!ELEMENT calendar-multiget ((DAV:allprop |
DAV:propname |
DAV:prop)?, DAV:href+)>
......
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