From eb65b505ca027c2918313777ca2b9896b57d30c9 Mon Sep 17 00:00:00 2001 From: Gerhard Muth Date: Thu, 12 Oct 2023 21:55:36 +0200 Subject: [PATCH] fixed sonar issue --- src/main/kotlin/de/gmuth/ipp/client/IppObject.kt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/kotlin/de/gmuth/ipp/client/IppObject.kt b/src/main/kotlin/de/gmuth/ipp/client/IppObject.kt index 63d02cfe..d53b6db1 100644 --- a/src/main/kotlin/de/gmuth/ipp/client/IppObject.kt +++ b/src/main/kotlin/de/gmuth/ipp/client/IppObject.kt @@ -5,17 +5,13 @@ package de.gmuth.ipp.client */ import de.gmuth.ipp.core.IppAttributesGroup -import de.gmuth.ipp.core.IppRequest import java.util.logging.Level import java.util.logging.Logger abstract class IppObject( private val exchangeDelegate: IppExchange, internal val attributes: IppAttributesGroup -) : IppExchange { - - override fun exchange(request: IppRequest) = - exchangeDelegate.exchange(request) +) : IppExchange by exchangeDelegate { protected abstract fun objectName(): String