Skip to content

JavadocMetadataScraper doesn't identify "CheckstyleTestMakeupCheck" name correctly #10756

@rnveach

Description

@rnveach

Identified at

final String checkModuleExtension = "Check";
if (moduleName.contains(checkModuleExtension)) {
moduleName = moduleName.substring(0, moduleName.indexOf(checkModuleExtension));
,

JavadocMetadataScraper thinks the name of the class is just "Check" instead of CheckstyleTestMakeup.

We have always identified check names by if they end with Check or not and just subtract that to get the name of the check.

JavadocMetadataScraper should follow this pattern instead of creating its own.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions