Skip to content

Commit

Permalink
fixed Sonar findings
Browse files Browse the repository at this point in the history
  • Loading branch information
gmuth committed Dec 11, 2024
1 parent 2d53a5e commit cc993e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/de/gmuth/ipp/client/IppJob.kt
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ class IppJob(
if (it.containsKey("job-name")) append(", name=$name")
if (it.containsKey("job-impressions-completed")) append(", impressions-completed=$impressionsCompleted")
if (it.containsKey("job-originating-host-name")) append(", originating-host-name=$originatingHostName")
if (it.containsKey("job-originating-user-name") && it.get("job-originating-user-name")!!.tag.`is ValueTag and is not OutOfBandTag`())
if (it["job-originating-user-name"]?.tag?.`is ValueTag and is not OutOfBandTag`() == true)
append(", originating-user-name=$originatingUserName")
if (it.containsKey("com.apple.print.JobInfo.PMJobOwner")) append(", appleJobOwner=$appleJobOwner")
if (it.containsKey("number-of-documents") || it.containsKey("document-count"))
Expand Down

0 comments on commit cc993e5

Please sign in to comment.