From 419a11ec3951e1f7b24b128d0b2a0b2810fe5644 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Mon, 15 Jul 2024 13:38:38 +0200 Subject: [PATCH] docs(cyclonedx): Remove an obsolete `TODO` comment A CycloneDX `LicenseChoice` can either contain a list of `License` strings or a license `Expression`, but not both. Stick to a list of `License` strings only as they allow to refer to the license origins. Signed-off-by: Sebastian Schuberth --- plugins/reporters/cyclonedx/src/main/kotlin/CycloneDxReporter.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/reporters/cyclonedx/src/main/kotlin/CycloneDxReporter.kt b/plugins/reporters/cyclonedx/src/main/kotlin/CycloneDxReporter.kt index 354768ae698fa..0269e66dcfe03 100644 --- a/plugins/reporters/cyclonedx/src/main/kotlin/CycloneDxReporter.kt +++ b/plugins/reporters/cyclonedx/src/main/kotlin/CycloneDxReporter.kt @@ -336,7 +336,6 @@ class CycloneDxReporter : Reporter { hashes = listOfNotNull(hash) - // TODO: Support license expressions once we have fully converted to them. licenses = LicenseChoice().apply { licenses = licenseObjects } // TODO: Find a way to associate copyrights to the license they belong to, see