Loading build.gradle.kts +1 −1 Original line number Diff line number Diff line Loading @@ -37,7 +37,7 @@ dependencies { implementation(kotlin("stdlib")) api("com.squareup.okhttp3:okhttp:${Libs.okhttpVersion}") implementation("org.apache.commons:commons-lang3:3.9") implementation("org.apache.commons:commons-lang3:3.8.1") // last version that doesn't require Java 8 api("org.ogce:xpp3:${Libs.xpp3Version}") testImplementation("com.squareup.okhttp3:mockwebserver:${Libs.okhttpVersion}") Loading src/main/kotlin/at/bitfire/dav4jvm/exception/GoneException.kt 0 → 100644 +17 −0 Original line number Diff line number Diff line /* * 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/. */ package at.bitfire.dav4jvm.exception import okhttp3.Response import java.net.HttpURLConnection class GoneException: HttpException { constructor(response: Response): super(response) constructor(message: String?): super(HttpURLConnection.HTTP_GONE, message) } Loading
build.gradle.kts +1 −1 Original line number Diff line number Diff line Loading @@ -37,7 +37,7 @@ dependencies { implementation(kotlin("stdlib")) api("com.squareup.okhttp3:okhttp:${Libs.okhttpVersion}") implementation("org.apache.commons:commons-lang3:3.9") implementation("org.apache.commons:commons-lang3:3.8.1") // last version that doesn't require Java 8 api("org.ogce:xpp3:${Libs.xpp3Version}") testImplementation("com.squareup.okhttp3:mockwebserver:${Libs.okhttpVersion}") Loading
src/main/kotlin/at/bitfire/dav4jvm/exception/GoneException.kt 0 → 100644 +17 −0 Original line number Diff line number Diff line /* * 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/. */ package at.bitfire.dav4jvm.exception import okhttp3.Response import java.net.HttpURLConnection class GoneException: HttpException { constructor(response: Response): super(response) constructor(message: String?): super(HttpURLConnection.HTTP_GONE, message) }