From 438890677030fb71e9ce60ea69bf808338671790 Mon Sep 17 00:00:00 2001 From: Gerhard Muth Date: Wed, 2 Oct 2024 16:35:26 +0200 Subject: [PATCH] status-message removed from toString() --- src/main/kotlin/de/gmuth/ipp/core/IppResponse.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/kotlin/de/gmuth/ipp/core/IppResponse.kt b/src/main/kotlin/de/gmuth/ipp/core/IppResponse.kt index d55ca272..2a2ada19 100644 --- a/src/main/kotlin/de/gmuth/ipp/core/IppResponse.kt +++ b/src/main/kotlin/de/gmuth/ipp/core/IppResponse.kt @@ -51,8 +51,6 @@ class IppResponse : IppMessage { override fun toString() = StringBuilder().apply { append(status) - if (containsGroup(Operation) && operationGroup.containsKey("status-message")) - append(", $statusMessage") val statesAndReasons = attributesGroups .flatMap { group -> group.values }