This is an automated email from the ASF dual-hosted git repository. asf-gitbox-commits pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/ant-antlibs-cyclonedx.git
commit 8566c33c012d6fea01054fb86e118a7da2b35560 Author: Stefan Bodewig <[email protected]> AuthorDate: Sun May 17 14:48:58 2026 +0200 unused method --- src/main/org/apache/ant/cyclonedx/Component.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/main/org/apache/ant/cyclonedx/Component.java b/src/main/org/apache/ant/cyclonedx/Component.java index 82af19b..3a3cf62 100644 --- a/src/main/org/apache/ant/cyclonedx/Component.java +++ b/src/main/org/apache/ant/cyclonedx/Component.java @@ -416,18 +416,6 @@ public class Component extends DataType { return result; } - /** - * Whether this component links to an external SBOM and wants to - * read data from it. - */ - public boolean hasSbomLink() { - if (isReference()) { - return getRef().hasSbomLink(); - } - dieOnCircularReference(); - return sbomLink != null; - } - /** * Read the linked SBOM (if any) and merge its content with the * one already defined for this component.
