From 041c4a6dd1dd382076974848b75310b898731ab5 Mon Sep 17 00:00:00 2001 From: Gerhard Muth Date: Mon, 20 May 2024 11:31:25 +0200 Subject: [PATCH] Upgrade sonar plugin to 5.0 --- build.gradle.kts | 2 +- src/main/kotlin/de/gmuth/ipp/client/IppSubscription.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 90bc1cda..73b24679 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -6,7 +6,7 @@ import org.jetbrains.dokka.gradle.DokkaTask plugins { id("org.jetbrains.kotlin.jvm") version "1.7.22" id("org.jetbrains.dokka") version "1.7.20" - id("org.sonarqube") version "4.4.1.3373" // https://plugins.gradle.org/plugin/org.sonarqube + id("org.sonarqube") version "5.0.0.4638" // https://plugins.gradle.org/plugin/org.sonarqube //id("org.sonarqube") version "3.5.0.2730" // supports java 8, dropped with 4.1 id("maven-publish") id("java-library") diff --git a/src/main/kotlin/de/gmuth/ipp/client/IppSubscription.kt b/src/main/kotlin/de/gmuth/ipp/client/IppSubscription.kt index b78c75c9..7f720507 100644 --- a/src/main/kotlin/de/gmuth/ipp/client/IppSubscription.kt +++ b/src/main/kotlin/de/gmuth/ipp/client/IppSubscription.kt @@ -153,7 +153,7 @@ class IppSubscription( Thread.sleep(pollEvery.toMillis()) } } catch (clientErrorNotFoundException: ClientErrorNotFoundException) { - logger.info { clientErrorNotFoundException.response!!.statusMessage.toString() } + logger.info { clientErrorNotFoundException.response.statusMessage.toString() } } }