Skip to content

Commit

Permalink
chore(cyclonedx): Remove an unneeded cast to Any
Browse files Browse the repository at this point in the history
This is a fixup for 70209af.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
  • Loading branch information
sschuberth committed Jul 16, 2024
1 parent 023dfb6 commit 4aad014
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ class CycloneDxReporter : Reporter {
}
}

BomGeneratorFactory.createJson(schemaVersion, bomWithoutExtensibleTypes) as Any
BomGeneratorFactory.createJson(schemaVersion, bomWithoutExtensibleTypes)
}

else -> throw IllegalArgumentException("Unsupported CycloneDX file extension '$fileExtension'.")
Expand Down

0 comments on commit 4aad014

Please sign in to comment.