From 8239b4840ce335861825fe74ba9a8f0994a01600 Mon Sep 17 00:00:00 2001 From: Gerhard Muth Date: Mon, 13 Nov 2023 22:46:23 +0100 Subject: [PATCH] fixed sonar warnings --- src/main/kotlin/de/gmuth/ipp/client/IppSubscription.kt | 1 + src/main/kotlin/de/gmuth/ipp/core/IppAttribute.kt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/de/gmuth/ipp/client/IppSubscription.kt b/src/main/kotlin/de/gmuth/ipp/client/IppSubscription.kt index d620fd14..4367bf96 100644 --- a/src/main/kotlin/de/gmuth/ipp/client/IppSubscription.kt +++ b/src/main/kotlin/de/gmuth/ipp/client/IppSubscription.kt @@ -19,6 +19,7 @@ import java.util.logging.Level import java.util.logging.Logger import java.util.logging.Logger.getLogger +@SuppressWarnings("kotlin:S1192") class IppSubscription( val printer: IppPrinter, val attributes: IppAttributesGroup, diff --git a/src/main/kotlin/de/gmuth/ipp/core/IppAttribute.kt b/src/main/kotlin/de/gmuth/ipp/core/IppAttribute.kt index 5b7bb394..6ee2ce4e 100644 --- a/src/main/kotlin/de/gmuth/ipp/core/IppAttribute.kt +++ b/src/main/kotlin/de/gmuth/ipp/core/IppAttribute.kt @@ -10,7 +10,6 @@ import de.gmuth.ipp.iana.IppRegistrationsSection6.getEnumName import java.nio.charset.Charset import java.time.Duration import java.time.Instant -import java.time.ZoneId import java.time.ZoneOffset import java.util.logging.Level import java.util.logging.Level.INFO