Skip to content

Allow to suppress false positives for certain checks in certain locations #93

@kwin

Description

@kwin

How can the rules outlined at https://experienceleague.adobe.com/docs/experience-manager-cloud-manager/content/using/custom-code-quality-rules.html?lang=en#product-apis-annotated-with-providertype-should-not-be-implemented-or-extended-by-customers be ignored/suppressed on specific code?

As OakPal acts on binary artifacts if I understand correctly using @SuppressWarning cannot be used. Any other way of e.g. ignoring CQBP-84 (in case no implementation of a ProviderType interface is exported yet and cannot be retrieved either, like for example for com.day.cq.dam.scene7.api.model.Scene7NormalizedCropRect which is used in com.day.cq.dam.scene7.api.model.Scene7Service.updateSmartCrops(...) there doesn't exist any wrapper/implementation that can be used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions