Skip to content

Commit

Permalink
docs(cyclonedx): Remove an obsolete TODO comment
Browse files Browse the repository at this point in the history
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 <sebastian@doubleopen.org>
  • Loading branch information
sschuberth committed Jul 16, 2024
1 parent fe46f21 commit da70ac4
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit da70ac4

Please sign in to comment.